Example #1
0
        public static CPhyMaterial LoadXnd(CPhyContext ctx, IO.XndAttrib attr)
        {
            attr.BeginRead();
            float staticFriction;
            float dynamicFriction;
            float restitution;

            attr.Read(out staticFriction);
            attr.Read(out dynamicFriction);
            attr.Read(out restitution);
            attr.EndRead();
            return(ctx.CreateMaterial(staticFriction, dynamicFriction, restitution));
        }
Example #2
0
 public void Load(IO.XndAttrib pAttr)
 {
     SDK_vBitset_Load(CoreObject, pAttr.CoreObject);
 }
Example #3
0
 public void Save(IO.XndAttrib pAttr)
 {
     SDK_vBitset_Save(CoreObject, pAttr.CoreObject);
 }