Class VoxelRagdollGenerator
- Namespace
- VoxelPlayground.Ragdoll
- Assembly
- GamePlay.dll
public class VoxelRagdollGenerator : MonoBehaviour
- Inheritance
-
object
VoxelRagdollGenerator
- Extension Methods
-
Fields
autoFortifyAndRefineSkinBoneId
public bool autoFortifyAndRefineSkinBoneId
Field Value
- bool
boneID
public static uint boneID
Field Value
- uint
directions
public static Vector3[] directions
Field Value
- Vector3[]
entityCharacter
public EntityCharacter entityCharacter
Field Value
- EntityCharacter
fleshColor
[ShowInInspector]
public static Color fleshColor
Field Value
- Color
OnRagdollGenerated
public Action<List<VoxelVolume>> OnRagdollGenerated
Field Value
- Action<List<VoxelVolume>>
ragdollGameObject
public GameObject ragdollGameObject
Field Value
- GameObject
skinColor
[ShowInInspector]
public static Color skinColor
Field Value
- Color
skinID
public static uint skinID
Field Value
- uint
splitedVoxDatas
public GameObject splitedVoxDatas
Field Value
- GameObject
voxelDataPrefab
public VoxelVolume voxelDataPrefab
Field Value
- VoxelVolume
voxelPartScripts
[SerializeField]
public List<VoxelVolume> voxelPartScripts
Field Value
- List<VoxelVolume>
voxelRagdollColorIDBodyPartConfig
public VoxelRagdollColorIDBodyPartConfig voxelRagdollColorIDBodyPartConfig
Field Value
- VoxelRagdollColorIDBodyPartConfig
voxelRagdollDismember
public VoxelRagdollDismember voxelRagdollDismember
Field Value
- VoxelRagdollDismember
voxelRagdollVirtualJoints
public List<VoxelRagdollVirtualJoint> voxelRagdollVirtualJoints
Field Value
- List<VoxelRagdollVirtualJoint>
Methods
ClearPreviewSplitedVoxDatas()
[Button]
[ShowIf("@splitedVoxDatas != null", true)]
public void ClearPreviewSplitedVoxDatas()
GenerateVirtualJoints()
[Button]
public void GenerateVirtualJoints()
GenerateVoxelDatas()
public void GenerateVoxelDatas()
PreviewSplitedVoxDatas()
[Button]
[ShowIf("@splitedVoxDatas != null", true)]
public void PreviewSplitedVoxDatas()