public sealed class SceneEntityDataOne entity in a scene file, and everything under it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Children are nested rather than each naming a parent, and that is a decision about diffs. A flat list with parent ids is simpler to stream and it makes moving a subtree an edit to n lines scattered through the file; nesting makes it one moved block. A scene is a file people merge by hand often enough that the readable form wins, which is the same reason the whole authoring format is YAML rather than the binary the runtime eventually loads.
The transform is the local one, because that is the authored value — a world matrix is derived every frame from the hierarchy and storing it would be storing something the next transform pass overwrites.
Fields and properties (14)
public EntityId IdWhat names this entity, in this file and in every reference to it.
public string NameWhat it is called.
public Vector3 PositionWhere it is, relative to its parent.
public Quaternion RotationHow it is turned, relative to its parent.
public Vector3 ScaleHow big it is, relative to its parent.
public string ShapeHow a scene used to carry a shape. Read, and never written.
public SceneLightData? LightHow a scene used to carry a light. Read, and never written.
public string AssetThe asset this entity is an instance of, in vx: form, or empty for none.
public SceneMeshData? MeshThe editable geometry this entity carries, or for none.
public SceneShapeData? ParametersThe live parameters its geometry is generated from, or .
public string Booleanpublic List<SceneFaceMaterialData> MaterialsA material per face group, for the groups that name one.
public List<SceneEntityData> ChildrenWhat hangs from it, in order.
public List<object> ComponentsWhat it carries besides its transform, each tagged with what it is.
Methods (1)
public override string ToString()Renders it as its name.
Used by (11)
- BlockoutBooleanTestsVixen.Editor.Blockout.Tests
- BlockoutCreateTestsVixen.Editor.Blockout.Tests
- EditMeshSceneTestsVixen.Editor.SceneView.Tests
- LightTestsVixen.Editor.SceneView.Tests
- PrefabVixen.Editor.AssetEditors
- PrefabInstanceTestsVixen.Editor.AssetEditors.Tests
- PrimitiveShapeTestsVixen.Editor.SceneView.Tests
- SceneCompilerVixen.Editor.Assets
- SceneFileVixen.Editor.Core
- SceneSerializerVixen.Editor.SceneView
- TypeRegistrationVixen.Editor.Core