Class PrefabInstanceObject
Abstract class that represents an object that can be instantiated through a prefab. Contains the links of the original prefab.
Inheritance
PrefabInstanceObject
Implements
Inherited Members
Namespace: Evergine.Framework
Assembly: Evergine.Framework.dll
Syntax
public abstract class PrefabInstanceObject : AttachableObject, IDependencyObject
Properties
IsMissingPrefabSource
Gets a value indicating whether the object is missing its prefab source.
Declaration
public bool IsMissingPrefabSource { get; }
Property Value
Type | Description |
---|---|
bool |
IsPrefabInstance
Gets a value indicating whether the object is a prefab instance.
Declaration
public bool IsPrefabInstance { get; }
Property Value
Type | Description |
---|---|
bool |
PrefabElementId
Gets or sets the prefab instance source element.
Declaration
public Guid PrefabElementId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
PrefabSource
Gets or sets the surce prefab.
Declaration
public Prefab PrefabSource { get; set; }
Property Value
Type | Description |
---|---|
Prefab |