My program doesn't have bugs. It just develops random features.

UE3:SkeletalMesh properties (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> SkeletalMesh (properties)

Contents

SkeletalMesh properties in other games:
UDK

Properties

Property group 'Cloth'

bClothMetal

Type: bool

Modifiers: const

Whether cloth simulation should be wrapped inside a Rigid Body and only be used upon impact

bEnableClothBendConstraints

Type: bool

Modifiers: const

Enable constraints that attempt to minimize curvature or folding of the cloth.

bEnableClothDamping

Type: bool

Modifiers: const

Enable damping forces on the cloth.

bEnableClothLineChecks

Type: bool

Modifiers: const

Enable cloth line/extent/point checks. Note: line checks are performed with a raycast against the cloth, but point and swept extent checks are performed against the cloth AABB

bEnableClothOrthoBendConstraints

Type: bool

Modifiers: const

Enable orthogonal bending resistance to minimize curvature or folding of the cloth.

This technique uses angular springs instead of distance springs as used in
'bEnableClothBendConstraints'. This mode is slower but independent of stretching resistance.

bEnableClothPressure

Type: bool

Modifiers: const

Enables pressure support. Simulates inflated objects like balloons.

bEnableClothSelfCollision

Type: bool

Modifiers: const

Enables cloth self collision.

bEnableClothTearing

Type: bool

Modifiers: const

Used to enable cloth tearing. Note, extra vertices/indices must be reserved using ClothTearReserve

Also cloth tearing is not available when welding is enabled.

bEnableClothTwoWayCollision

Type: bool

Modifiers: const

Enables two way collision with rigid-bodies.

bForceNoWelding

Type: bool

Modifiers: const

Forces the Welding Code to be turned off even if the mesh has doubled vertices

bUseClothCOMDamping

Type: bool

Modifiers: const

Enable center of mass damping of cloth internal velocities.

ClothAttachmentResponseCoefficient

Type: float

Modifiers: const

How much an attachment to a rigid body influences the cloth

Default value: 0.2

ClothAttachmentTearFactor

Type: float

Modifiers: const

How much extension an attachment can undergo before it tears/breaks

Default value: 1.5

ClothBendStiffness

Type: float

Modifiers: const

Controls strength of springs that stop the cloth from bending. bEnableClothBendConstraints must be true to take affect.

Default value: 1.0

ClothBones

Type: array<name>

Modifiers: const

Vertices with any weight to these bones are considered 'cloth'.

ClothCollisionResponseCoefficient

Type: float

Modifiers: const

Response coefficient for cloth/rb collision

Default value: 0.2

ClothDamping

Type: float

Modifiers: const

Controls how much damping force is applied to cloth particles. bEnableClothDamping must be true to take affect.

Default value: 0.5

ClothDensity

Type: float

Modifiers: const

This is multiplied by the size of triangles sharing a point to calculate the points mass. This cannot be modified after the cloth has been created.

Default value: 1.0

ClothFriction

Type: float

Modifiers: const

Controls movement of cloth when in contact with other bodies.

Default value: 0.5

ClothIterations

Type: int

Modifiers: const

Increasing the number of solver iterations improves how accurately the cloth is simulated, but will also slow down simulation.

Default value: 5

ClothMetalImpulseThreshold

Type: float

Modifiers: const

Threshold for when deformation is allowed

Default value: 10.0

ClothMetalMaxDeformationDistance

Type: float

Modifiers: const

Maximum deviation of cloth particles from initial position

ClothMetalPenetrationDepth

Type: float

Modifiers: const

Amount by which colliding objects are brought closer to the cloth

ClothPressure

Type: float

Modifiers: const

Adjusts the internal "air" pressure of the cloth. Only has affect when bEnableClothPressure.

Default value: 1.0

ClothRelativeGridSpacing

Type: float

Modifiers: const

Controls the size of the grid cells a cloth is divided into when performing broadphase collision. The cell size is relative to the AABB of the cloth.

Default value: 1.0

ClothSleepLinearVelocity

Type: float

Modifiers: const

Maximum linear velocity at which cloth can go to sleep. If negative, the global default will be used.

Default value: -1.0

ClothSpecialBones

Type: array<ClothSpecialBoneInfo>

Modifiers: const

Vertices with any weight to these bones are considered cloth with special behavoir, currently they are attached to the physics asset with fixed or breakable attachments.

ClothStretchStiffness

Type: float

Modifiers: const

Controls strength of springs that attempts to keep particles in the cloth together.

Default value: 1.0

ClothTearFactor

Type: float

Modifiers: const

Stretch factor beyond which a cloth edge/vertex will tear. Should be greater than 1.

Default value: 3.5

ClothTearReserve

Type: int

Modifiers: const

Number of vertices/indices to set aside to accomodate new triangles created as a result of tearing

Default value: 128

ClothThickness

Type: float

Modifiers: const

How thick the cloth is considered when doing collision detection.

Default value: 0.5

Property group 'SkeletalMesh'

AddToParentPerPolyCollisionBone

Type: array<name>

For each of these bones, find the parent that is in PerPolyCollisionBones and add its polys to that bone.

bForceCPUSkinning

Type: bool

Modifiers: const

All meshes default to GPU skinning. Set to True to enable CPU skinning

BoundsPreviewAsset

Type: PhysicsAsset

Modifiers: editoronly

Asset used for previewing bounds in AnimSetViewer. Makes setting up LOD distance factors more reliable.

bPerPolyUseSoftWeighting

Type: bool

If true, include triangles that are soft weighted to bones.

bUseFullPrecisionUVs

Type: bool

Modifiers: const

If true, use 32 bit UVs. If false, use 16 bit UVs to save memory

bUseSimpleBoxCollision

Type: bool

If true, use PhysicsAsset for extent (swept box) collision checks. If false, use per-poly bone collision (if present).

Default value: True

bUseSimpleLineCollision

Type: bool

If true, use PhysicsAsset for line collision checks. If false, use per-poly bone collision (if present).

Default value: True

FaceFXAsset

Type: FaceFXAsset

The FaceFX asset the skeletal mesh uses for FaceFX operations.

LODBiasPC

Type: int

LOD bias to use for PC.

LODBiasPS3

Type: int

LOD bias to use for PS3.

LODBiasXbox360

Type: int

LOD bias to use for Xbox 360.

LODInfo

Type: array<SkeletalMeshLODInfo>

Modifiers: editfixedsize

Struct containing information for each LOD level, such as materials to use, whether to cast shadows, and when use the LOD.

Materials

Type: array<MaterialInterface>

Modifiers: const, native

List of materials applied to this mesh.

Origin

Type: Object.Vector

Modifiers: const, native

Origin in original coordinate system

PerPolyCollisionBones

Type: array<name>

For each bone specified here, all triangles rigidly weighted to that bone are entered into a kDOP, allowing per-poly collision checks.

RotOrigin

Type: Object.Rotator

Modifiers: const, native

Amount to rotate when importing (mostly for yawing)

SkelMirrorAxis

Type: Object.EAxis


Default value: AXIS_X

SkelMirrorFlipAxis

Type: Object.EAxis


Default value: AXIS_Z

SkelMirrorTable

Type: array<BoneMirrorInfo>

Modifiers: editfixedsize

List of bones that should be mirrored.

StartDisplayBoneName

Type: name

Bone Name to start drawing bones from. See SkeletalMeshComponent.bDisplayBones.

Internal variables

Bounds

Type: Object.BoxSphereBounds

Modifiers: const, native


ClothIndexBuffer

Type: array<int>

Modifiers: const

Index buffer for simulation cloth.

ClothMesh

Type: array<pointer>

Modifiers: const, native, transient

Cache of ClothMesh objects at different scales.

ClothMeshScale

Type: array<float>

Modifiers: const, native, transient

Scale of each of the ClothMesh objects in cache. This array is same size as ClothMesh.

ClothToGraphicsVertMap

Type: array<int>

Modifiers: const

Mapping between each vertex in the simulation mesh and the graphics mesh. This is ordered so that 'free' vertices are first, and then after NumFreeClothVerts they are 'fixed' to the skinned mesh.

ClothTornTriMap

Type: Object.Map_Mirror{TMap<QWORD,INT>}

Modifiers: const, native

Map which maps from a set of 3 triangle indices packet in a 64bit to the location in the index buffer,

Used to update indices for torn triangles.
Note: This structure is lazy initialized when a torn cloth mesh is created. (But could be precomputed
in BuildClothMapping() if serialization is handled correctly).

ClothWeldedIndices

Type: array<int>

Modifiers: const

This will hold the indices to the reduced number of cloth vertices used for cooking the NxClothMesh.

ClothWeldingDomain

Type: int

Modifiers: const

This is the highest value stored in ClothWeldingMap

ClothWeldingMap

Type: array<int>

Modifiers: const

Mapping from index of rendered mesh to index of simulated mesh. This mapping applies before ClothToGraphicsVertMap which can then operate normally The reason for this mapping is to weld several vertices with the same position but different texture coordinates into one simulated vertex which makes it possible to run closed meshes for cloth.

LODModels

Type: Object.IndirectArray_Mirror

Modifiers: const, native, private

FStaticLODModel

NameIndexMap

Type: Map{FName,INT}

Modifiers: const, native


NumFreeClothVerts

Type: int

Modifiers: const

Point in the simulation cloth vertex array where the free verts finish and we start having 'fixed' verts.

PerPolyBoneKDOPs

Type: array<int>

Modifiers: private, const, native

KDOP tree's used for storing rigid triangle information for a subset of bones. Length of this array matches PerPolyCollisionBones

RefBasesInvMatrix

Type: array<Object.Matrix>

Modifiers: const, native


RefSkeleton

Type: array<int>

Modifiers: const, native

FMeshBone

ReleaseResourcesFence

Type: int

Modifiers: const, native, transient


SkeletalDepth

Type: int

Modifiers: const, native


SkelMeshGUID

Type: Object.Guid

Modifiers: const

GUID for this SkeletalMeshm, used when linking meshes to AnimSets.

Sockets

Type: array<SkeletalMeshSocket>