Skip to main content

ShieldPartDefinition

A class in Root.Township, Alta.QuickAccessActions.

One saved mesh part of a NameBoardShield: mesh, material and local transform.

Constructors​

MemberWhat it is
ShieldPartDefinition()Creates a ShieldPartDefinition with default values.

Fields​

5 private and internal fields
MemberWhat it is
private Material materialBacking field for Material.
private Mesh meshBacking field for Mesh.
private Vector3 positionBacking field for Position.
private Quaternion rotationBacking field for Rotation.
private Vector3 scaleBacking field for Scale.

Properties​

MemberWhat it is
Material Material { get; }Material of the part.
Mesh Mesh { get; }Mesh of the part.
Vector3 Position { get; }Local position of the part.
Quaternion Rotation { get; }Local rotation of the part.
Vector3 Scale { get; }Local scale of the part.

Methods​

MemberWhat it is
void Create(MeshRenderer meshRenderer)Copies the mesh, material and local transform from an existing mesh renderer.

Used in​

Members of other types that take, return or hold a ShieldPartDefinition: