123456789101112131415161718192021222324252627282930313233 |
- using System.Runtime.Serialization;
- namespace BabylonExport.Entities
- {
- [DataContract]
- public class BabylonAbstractMesh: BabylonNode
- {
- [DataMember]
- public float[] position { get; set; }
- [DataMember]
- public float[] rotation { get; set; }
- [DataMember]
- public float[] scaling { get; set; }
- [DataMember]
- public float[] rotationQuaternion { get; set; }
- [DataMember]
- public BabylonActions actions { get; set; }
- // Identifier shared between a mesh and its instances
- public int idGroupInstance;
- public BabylonAbstractMesh()
- {
- position = new[] { 0f, 0f, 0f };
- rotation = new[] { 0f, 0f, 0f };
- scaling = new[] { 1f, 1f, 1f };
- }
- }
- }
|