// Token: 0x06000229 RID: 553 RVA: 0x00011CD0 File Offset: 0x0000FED0 public void FromPmxSoftBody(PmxSoftBody sbody, bool nonStr) { bool flag = !nonStr; if (flag) { this.Name = sbody.Name; this.NameE = sbody.NameE; } this.Shape = sbody.Shape; this.Material = sbody.Material; this.Group = sbody.Group; this.PassGroup = sbody.PassGroup.Clone(); this.IsGenerateBendingLinks = sbody.IsGenerateBendingLinks; this.IsGenerateClusters = sbody.IsGenerateClusters; this.IsRandomizeConstraints = sbody.IsRandomizeConstraints; this.BendingLinkDistance = sbody.BendingLinkDistance; this.ClusterCount = sbody.ClusterCount; this.TotalMass = sbody.TotalMass; this.Margin = sbody.Margin; this.Config = sbody.Config; this.MaterialConfig = sbody.MaterialConfig; this.BodyAnchorList = CP.CloneList <PmxSoftBody.BodyAnchor>(sbody.BodyAnchorList); this.VertexPinList = CP.CloneList <PmxSoftBody.VertexPin>(sbody.VertexPinList); this.VertexIndices = CP.CloneArray_ValueType <int>(sbody.VertexIndices); }
public void FromPmxSoftBody(PmxSoftBody sbody, bool nonStr = false) { if (!nonStr) { Name = sbody.Name; NameE = sbody.NameE; } Shape = sbody.Shape; Material = sbody.Material; Group = sbody.Group; PassGroup = sbody.PassGroup.Clone(); IsGenerateBendingLinks = sbody.IsGenerateBendingLinks; IsGenerateClusters = sbody.IsGenerateClusters; IsRandomizeConstraints = sbody.IsRandomizeConstraints; BendingLinkDistance = sbody.BendingLinkDistance; ClusterCount = sbody.ClusterCount; TotalMass = sbody.TotalMass; Margin = sbody.Margin; Config = sbody.Config; MaterialConfig = sbody.MaterialConfig; BodyAnchorList = CP.CloneList(sbody.BodyAnchorList); VertexPinList = CP.CloneList(sbody.VertexPinList); VertexIndices = CP.CloneArray_ValueType(sbody.VertexIndices); FromID(sbody); }
// Token: 0x0600031E RID: 798 RVA: 0x00016558 File Offset: 0x00014758 public Vmd(Vmd vmd) : this() { this.VMDHeader = vmd.VMDHeader; this.ModelName = vmd.ModelName; this.MotionList = CP.CloneList <VmdMotion>(vmd.MotionList); this.MorphList = CP.CloneList <VmdMorph>(vmd.MorphList); this.CameraList = CP.CloneList <VmdCamera>(vmd.CameraList); this.LightList = CP.CloneList <VmdLight>(vmd.LightList); this.SelfShadowList = CP.CloneList <VmdSelfShadow>(vmd.SelfShadowList); this.VisibleIKList = CP.CloneList <VmdVisibleIK>(vmd.VisibleIKList); }
public Vmd(Vmd vmd) : this() { VMDHeader = vmd.VMDHeader; ModelName = vmd.ModelName; MotionList = CP.CloneList(vmd.MotionList); MorphList = CP.CloneList(vmd.MorphList); CameraList = CP.CloneList(vmd.CameraList); LightList = CP.CloneList(vmd.LightList); SelfShadowList = CP.CloneList(vmd.SelfShadowList); VisibleIKList = CP.CloneList(vmd.VisibleIKList); }
// Token: 0x06000370 RID: 880 RVA: 0x000188E0 File Offset: 0x00016AE0 public VmdVisibleIK(VmdVisibleIK vik) { this.Visible = vik.Visible; this.IKList = CP.CloneList <VmdVisibleIK.IK>(vik.IKList); }
public VmdVisibleIK(VmdVisibleIK vik) { Visible = vik.Visible; IKList = CP.CloneList(vik.IKList); }