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)); }
public void Load(IO.XndAttrib pAttr) { SDK_vBitset_Load(CoreObject, pAttr.CoreObject); }
public void Save(IO.XndAttrib pAttr) { SDK_vBitset_Save(CoreObject, pAttr.CoreObject); }