Depiction Engine For Unity 2023.0 (Alpha)
Loading...
Searching...
No Matches
DepictionEngine.TransformDouble Class Reference

64 bit double version of the Transform. More...

Public Member Functions

override void Recycle ()
 Resets the fields to their default value so the object can be reused again. It will be called by the DepictionEngine.PoolManager if the object is being recycled from the pool.
 
bool IsChildOf (TransformDouble transform)
 Returns true if the transform is a child.
 
void RotateAround (Vector3Double point, Vector3Double axis, double angle)
 Rotates the transform about axis passing through point in world coordinates by angle degrees.
 
LocalPositionParam UpdateLocalPositionParam ()
 
LocalRotationParam UpdateLocalRotationParam ()
 
LocalScaleParam UpdateLocalScaleParam ()
 
GeoCoordinate3Double GetGeoCoordinate ()
 
void DetectTransformChanges ()
 
override bool ForceUpdateTransform (out Component changedComponents, bool localPositionChanged=false, bool localRotationChanged=false, bool localScaleChanged=false, Camera camera=null, bool forceDeriveLocalPosition=false, bool triggerTransformChanged=true)
 
Vector3Double TransformDirection (Vector3Double direction)
 
Vector3Double TransformPoint (Vector3Double point)
 
Vector3Double InverseTransformPoint (Vector3Double point)
 
override bool SetParent (TransformBase value, bool worldPositionStays=true)
 
override bool OnDispose (DisposeContext disposeContext)
 This is where you dispose any remaining dependencies.
 
- Public Member Functions inherited from DepictionEngine.TransformBase
override void Recycle ()
 Resets the fields to their default value so the object can be reused again. It will be called by the DepictionEngine.PoolManager if the object is being recycled from the pool.
 
void InitLastTransformFields ()
 
bool DetectGameObjectChanges ()
 Detect changes that happen as a result of an external influence.
 
override void UpdateParent (PropertyMonoBehaviour originator=null)
 Finds and sets the parent.
 
bool IsGeoCoordinateContext ()
 
void RevertUnityLocalPosition ()
 
void RevertUnityLocalRotation ()
 
void RevertUnityLocalScale ()
 
GeoAstroObject GetParentGeoAstroObject (bool includeSibling=true)
 
bool SetParent (Guid id, bool worldPositionStays=true)
 
virtual bool SetParent (TransformBase value, bool worldPositionStays=true)
 
void UpdateTransformHideFlags ()
 
override void HierarchicalApplyOriginShifting (Vector3Double origin, bool originShiftSelected)
 
virtual bool ForceUpdateTransform (out Component changedComponents, bool localPositionChanged=false, bool localRotationChanged=false, bool localScaleChanged=false, Camera camera=null, bool forceDeriveLocalPosition=false, bool triggerTransformChanged=true)
 
bool UpdatingChildren ()
 
bool TransformChanged (Component changedComponents, Component capturedComponents, TransformBase originator)
 
Component UpdateChild (TransformBase childTransform)
 
void IterateOverChildren< T > (Func< T, bool > callback, bool includeDontSave=true)
 
void IterateOverChildrenObject< T > (Func< T, bool > callback)
 
void IterateOverChildrenGameObject (GameObject gameObject, Action< GameObject > callback, bool recursive=false)
 
override bool OnDispose (DisposeContext disposeContext)
 This is where you dispose any remaining dependencies.
 
- Public Member Functions inherited from DepictionEngine.JsonMonoBehaviour
override void Initialized (InitializationContext initializingContext)
 Acts as a reliable constructor and will always by called unlike Awake which is sometimes skipped during Undo / Redo operations.
 
virtual bool DetectUserGameObjectChanges ()
 Detect changes that happen as a result of an external influence.
 
- Public Member Functions inherited from DepictionEngine.PropertyMonoBehaviour
override void Recycle ()
 Resets the fields to their default value so the object can be reused again. It will be called by the DepictionEngine.PoolManager if the object is being recycled from the pool.
 
override void Initialized (InitializationContext initializingContext)
 Acts as a reliable constructor and will always by called unlike Awake which is sometimes skipped during Undo / Redo operations.
 
virtual void UpdateDependencies ()
 
virtual bool UpdateRelations (Action beforeSiblingsInitializeCallback=null)
 
virtual void UpdateParent (PropertyMonoBehaviour originator=null)
 Finds and sets the parent.
 
bool PropertyDirty (string name)
 
void ResetId ()
 Resets the Id to DepictionEngine.SerializableGuid.Empty.
 
void UpdateActiveAndEnabled ()
 
virtual void HierarchicalApplyOriginShifting (Vector3Double origin, bool originShiftSelected)
 
virtual bool HierarchicalBeginCameraRendering (Camera camera)
 Called as a result of a hierarchical traversal of the scenegraph initiated at the same time as the RenderPipelineManager.beginCameraRendering.
 
virtual bool HierarchicalEndCameraRendering (Camera camera)
 Called as a result of a hierarchical traversal of the scenegraph initiated at the same time as the RenderPipelineManager.endCameraRendering.
 
virtual bool PreHierarchicalUpdate ()
 Called as a result of a hierarchical traversal of the scenegraph initiated at the same time as the UnityEngine Update. It is called before the DepictionEngine.PropertyMonoBehaviour.HierarchicalUpdate.
 
virtual void PreHierarchicalUpdateBeforeChildrenAndSiblings ()
 
virtual bool HierarchicalUpdate ()
 Called as a result of a hierarchical traversal of the scenegraph initiated at the same time as the UnityEngine Update. It is called after the DepictionEngine.PropertyMonoBehaviour.PreHierarchicalUpdate and before the DepictionEngine.PropertyMonoBehaviour.PostHierarchicalUpdate.
 
virtual bool PostHierarchicalUpdate ()
 Called as a result of a hierarchical traversal of the scenegraph initiated at the same time as the UnityEngine Update. It is called after the DepictionEngine.PropertyMonoBehaviour.HierarchicalUpdate.
 
virtual void IterateOverChildrenAndSiblings (Action< PropertyMonoBehaviour > callback=null)
 
override bool OnDispose (DisposeContext disposeContext)
 This is where you dispose any remaining dependencies.
 
- Public Member Functions inherited from DepictionEngine.MonoBehaviourDisposable
virtual void Recycle ()
 Resets the fields to their default value so the object can be reused again. It will be called by the DepictionEngine.PoolManager if the object is being recycled from the pool.
 
bool Initialize ()
 Needs to be called before the object can be used. Objects created through the DepictionEngine.InstanceManager should automatically Initialize the object.
 
virtual void Initialized (InitializationContext initializingContext)
 Acts as a reliable constructor and will always by called unlike Awake which is sometimes skipped during Undo / Redo operations.
 
AddComponent< T > (InitializationContext initializingContext=InitializationContext.Programmatically, JSONObject json=null, List< PropertyModifier > propertyModifiers=null, bool isFallbackValues=false)
 
AddComponent< T > (bool initialize, InitializationContext initializingContext=InitializationContext.Programmatically, JSONObject json=null, List< PropertyModifier > propertyModifiers=null, bool isFallbackValues=false)
 
Component AddComponent (Type componentType, InitializationContext initializingContext=InitializationContext.Programmatically, JSONObject json=null, List< PropertyModifier > propertyModifiers=null, bool isFallbackValues=false)
 
Component AddComponent (Type componentType, bool initialize, InitializationContext initializingContext=InitializationContext.Programmatically, JSONObject json=null, List< PropertyModifier > propertyModifiers=null, bool isFallbackValues=false)
 
InitializationContext GetInitializeContext ()
 
bool IsDisposing ()
 Is the object disposing?.
 
bool IsDisposed ()
 Has the object been disposed?
 
void Originator (Action callback, IScriptableBehaviour originator)
 Provides the code executed in this callback information about the DepictionEngine.IScriptableBehaviour that triggered it by keeping a reference available under DepictionEngine.IScriptableBehaviour.originator.
 
bool OnDisposing ()
 
bool UpdateDisposingContext (bool forceUpdate=false)
 This is where you clear or dispose any remaining references. It will be called automatically by DepictionEngine.DisposeManager immediately after DepictionEngine.IDisposable.OnDisposing unless the object was Destroyed as a result of an Editor action.
 
void OnDisposeInternal (DisposeContext disposeContext)
 
virtual bool OnDispose (DisposeContext disposeContext)
 This is where you dispose any remaining dependencies.
 
void OnDestroy ()
 This is where you destroy any remaining dependencies.
 
virtual void OnBeforeSerialize ()
 
virtual void OnAfterDeserialize ()
 
virtual void OnValidate ()
 
bool Equals (Disposable.Null value)
 
override bool Equals (object value)
 
override int GetHashCode ()
 
- Public Member Functions inherited from DepictionEngine.IScriptableBehaviour
InitializationContext GetInitializeContext ()
 
void Originator (Action callback, IScriptableBehaviour originator)
 Provides the code executed in this callback information about the DepictionEngine.IScriptableBehaviour that triggered it by keeping a reference available under DepictionEngine.IScriptableBehaviour.originator.
 
int GetInstanceID ()
 
void OnDestroy ()
 This is where you destroy any remaining dependencies.
 
void Initialized (InitializationContext initializingContext)
 Acts as a reliable constructor and will always by called unlike Awake which is sometimes skipped during Undo / Redo operations.
 
void Recycle ()
 Resets the fields to their default value so the object can be reused again. It will be called by the DepictionEngine.PoolManager if the object is being recycled from the pool.
 
bool Initialize ()
 Needs to be called before the object can be used. Objects created through the DepictionEngine.InstanceManager should automatically Initialize the object.
 
bool IsDisposing ()
 Is the object disposing?.
 
bool IsDisposed ()
 Has the object been disposed?
 
bool OnDisposing ()
 
bool OnDispose (DisposeContext disposeContext)
 This is where you dispose any remaining dependencies.
 
void OnDisposeInternal (DisposeContext disposeContext)
 
bool UpdateDisposingContext (bool forceUpdate=false)
 This is where you clear or dispose any remaining references. It will be called automatically by DepictionEngine.DisposeManager immediately after DepictionEngine.IDisposable.OnDisposing unless the object was Destroyed as a result of an Editor action.
 
bool Equals (Disposable.Null value)
 
void ResetId ()
 Resets the Id to DepictionEngine.SerializableGuid.Empty.
 
void IterateOverChildren< T > (Func< T, bool > callback, bool includeDontSave=true)
 

Static Public Member Functions

static bool IsTransformProperty (string name)
 Is the property name DepictionEngine.TransformDouble.position, DepictionEngine.TransformDouble.rotation or DepictionEngine.TransformDouble.lossyScale.
 
static void RemoveOriginShiftDirty (int instanceId)
 
static Vector3Double AddOrigin (Vector3 point)
 
static Vector3 SubtractOrigin (Vector3Double point)
 
static Vector3Double AddPointToCameraOrigin (Vector3 point, Camera camera)
 
static Vector3Double SubtractPointFromCameraOrigin (Vector3Double point, Camera camera)
 
static OriginShiftSnapshot GetOriginShiftSnapshot ()
 
static void ApplyOriginShifting (OriginShiftSnapshot originShiftSnapshot)
 
static void ApplyOriginShifting (Vector3Double origin)
 
static void ApplyOriginShifting (List< TransformDouble > transformDoubles, Vector3Double origin, bool forceOriginShiftSelected=false, bool forceDirty=false)
 
- Static Public Member Functions inherited from DepictionEngine.TransformBase
static Component GetUpdateComponentsFromParentChangedComponents (Component parentChangedComponents)
 
- Static Public Member Functions inherited from DepictionEngine.PropertyMonoBehaviour
static int GetPropertyKey (string name)
 Returns a key for the property name.
 
- Static Public Member Functions inherited from DepictionEngine.MonoBehaviourDisposable
static bool InitValueInternal< T > (Action< T > callback, T defaultValue, Func< T > duplicateValue, InitializationContext initializingContext)
 
static bool InitValueInternal< T > (Action< T > callback, T defaultValue, InitializationContext initializingContext)
 
static bool operator!= (MonoBehaviourDisposable lhs, Disposable.Null rhs)
 
static bool operator== (MonoBehaviourDisposable lhs, Disposable.Null _)
 

Public Attributes

Action< LocalPositionParam, LocalRotationParam, LocalScaleParam, CameraObjectCallback
 
- Public Attributes inherited from DepictionEngine.TransformBase
Action< TransformBase, PropertyMonoBehaviourChildAddedEvent
 Dispatched when a child such as a DepictionEngine.TransformDouble or a DepictionEngine.Visual, when a DepictionEngine.VisualObject is present, is added.
 
Action< TransformBase, PropertyMonoBehaviourChildRemovedEvent
 Dispatched when a child is removed.
 
Action< TransformBase, string, object, object > ChildPropertyAssignedEvent
 Dispatched when a property assignment is detected in any of the children.
 
Action< Component, ComponentChangedEvent
 Dispatched when some transform component(s) such as localPosition, localRotation or localScale have changed.
 

Protected Member Functions

override void InitializeSerializedFields (InitializationContext initializingContext)
 Initialize SerializedField's to their default values.
 
override bool InitializeLastFields ()
 
Matrix4x4Double GetLocalToWorldMatrix (TransformDouble parent, Vector3Double localPosition, QuaternionDouble localRotation, Vector3Double localScale)
 
Vector3Double GetPosition (TransformDouble parent, Vector3Double localPosition)
 
QuaternionDouble GetRotation (TransformDouble parent, QuaternionDouble localRotation)
 
Vector3Double GetLossyScale (TransformDouble parent, Vector3Double localPosition, QuaternionDouble localRotation, Vector3Double localScale)
 
override void IsGeoCoordinateTransformChanged ()
 
LocalPositionParam CaptureLocalPosition ()
 
LocalRotationParam CaptureLocalRotation ()
 
LocalScaleParam CaptureLocalScale ()
 
override bool UpdateUnityTransformComponents (ref TransformComponents3 unityTransformComponents, Vector3Double origin, bool forceOriginShiftSelected)
 
Vector3 ValidateVector3 (Vector3 value)
 
override void ParentChanged (PropertyMonoBehaviour newValue, PropertyMonoBehaviour oldValue)
 
- Protected Member Functions inherited from DepictionEngine.TransformBase
override void InitializeFields (InitializationContext initializingContext)
 
override void InitializeSerializedFields (InitializationContext initializingContext)
 Initialize SerializedField's to their default values.
 
override bool InitializeLastFields ()
 
override JSONObject GetInitializationJson (JSONObject initializeJSON)
 
override bool LateInitialize (InitializationContext initializingContext)
 Every other objects are initialized at this point.
 
override bool AddInstanceToManager ()
 Should this object be added to the DepictionEngine.InstanceManager.
 
override bool ParentHasChanged ()
 
override bool SiblingsHasChanged ()
 
override bool ChildrenHasChanged ()
 
override void UpdateChildren ()
 
override bool UpdateAllDelegates ()
 Function to initialize event handlers.
 
override bool RemoveParentDelegates (PropertyMonoBehaviour parent)
 
override bool AddParentDelegates (PropertyMonoBehaviour parent)
 
void ParentPropertyAssignedHandler (IProperty property, string name, object newValue, object oldValue)
 
void ChildPropertyAssignedHandler (IProperty property, string name, object newValue, object oldValue)
 
override bool CanBeDisabled ()
 
override PropertyMonoBehaviour GetParent ()
 
override Type GetParentType ()
 
override Type GetSiblingType ()
 
override Type GetChildType ()
 
void UpdateIsGeoCoordinateTransform ()
 
virtual void IsGeoCoordinateTransformChanged ()
 
override bool AddChild (PropertyMonoBehaviour child)
 
override bool RemoveChild (PropertyMonoBehaviour child)
 
void UpdateParentObject ()
 
bool UpdateParentGeoAstroObject ()
 
GeoAstroObject FindParentGeoAstroObject ()
 
void SetComponentDirtyFlag (bool position=false, bool rotation=false, bool lossyScale=false)
 
void ResetComponentDirtyFlag (bool position=false, bool rotation=false, bool lossyScale=false, bool worldToLocalMatrix=false, bool localToWorldMatrix=false)
 
Vector3 CaptureLocalPositionDelta ()
 
Quaternion CaptureLocalRotationDelta ()
 
Vector3 CaptureLocalScaleDelta ()
 
bool DetectDirectTransformLocalPositionManipulation ()
 
bool DetectDirectTransformLocalRotationManipulation ()
 
bool DetectDirectTransformLocalScaleManipulation ()
 
override bool UpdateHideFlags ()
 
virtual bool UpdateUnityTransformComponents (ref TransformComponents3 unityTransformComponents, Vector3Double origin, bool originShiftSelected)
 
void AstroObjectPropertyAssignedHandler (IProperty property, string name, object newValue, object oldValue)
 
void ParentChanged (Component parentChangedComponents, Component capturedComponents, TransformBase originator)
 
override bool ApplyBeforeChildren (Action< PropertyMonoBehaviour > callback)
 
override DisposeContext GetDisposingContext ()
 
- Protected Member Functions inherited from DepictionEngine.JsonMonoBehaviour
override void Initializing ()
 The first step of the initialization process.
 
virtual JSONObject GetInitializationJson (JSONObject initializeJSON)
 
override bool InitializeLastFields ()
 
override void InitializeSerializedFields (InitializationContext initializingContext)
 Initialize SerializedField's to their default values.
 
override bool Initialize (InitializationContext initializingContext)
 The main initialization function.
 
override SerializableGuid GetId (SerializableGuid id, InitializationContext initializingContext)
 
virtual void EnabledChanged (bool newValue, bool oldValue)
 
- Protected Member Functions inherited from DepictionEngine.PropertyMonoBehaviour
virtual void IterateOverComponentReference (Action< SerializableGuid, Action > callback)
 
override void Initializing ()
 The first step of the initialization process.
 
override void InitializeUID (InitializationContext initializingContext)
 Initializes the object's unique identifiers.
 
virtual SerializableGuid GetId (SerializableGuid id, InitializationContext initializingContext)
 
override bool Initialize (InitializationContext initializingContext)
 The main initialization function.
 
virtual void InitializeFieldsBeforeChildren (InitializationContext initializingContext)
 
virtual void InitializeSerializedFieldsBeforeChildren (InitializationContext initializingContext)
 Initialize SerializedField's to their default values.
 
virtual void CreateAndInitializeDependencies (InitializationContext initializingContext)
 
virtual void InitializeFields (InitializationContext initializingContext)
 
virtual void InitializeSerializedFields (InitializationContext initializingContext)
 Initialize SerializedField's to their default values.
 
virtual bool InitializeLastFields ()
 
virtual bool AddInstanceToManager ()
 Should this object be added to the DepictionEngine.InstanceManager.
 
override bool AddToInstanceManager ()
 Add the object to the DepictionEngine.InstanceManager if possible.
 
override bool UpdateAllDelegates ()
 Function to initialize event handlers.
 
virtual void InstanceAddedHandler (IProperty property)
 
virtual void InstanceRemovedHandler (IProperty property)
 
virtual bool RemoveParentDelegates (PropertyMonoBehaviour parent)
 
virtual bool AddParentDelegates (PropertyMonoBehaviour parent)
 
virtual bool RemoveChildDelegates (PropertyMonoBehaviour child)
 
virtual bool AddChildDelegates (PropertyMonoBehaviour child)
 
virtual PropertyMonoBehaviour GetParent ()
 
void UpdateSiblings ()
 
virtual void UpdateChildren ()
 
InitializeComponent< T > (T component, JSONObject json=null, bool isFallbackValues=false)
 
virtual bool ParentHasChanged ()
 
virtual bool SiblingsHasChanged ()
 
virtual bool ChildrenHasChanged ()
 
List< T > GetComponentFromId< T > (List< SerializableGuid > ids)
 
GetComponentFromId< T > (SerializableGuid id)
 
List< SerializableGuidGetDuplicateComponentReferenceId< T > (List< SerializableGuid > ids, List< T > componentReferences, InitializationContext initializingContext)
 
SerializableGuid GetDuplicateComponentReferenceId< T > (SerializableGuid id, T componentReference, InitializationContext initializingContext)
 
virtual bool SetValue< T > (string name, T value, ref T valueField, Action< T, T > assignedCallback=null, bool allowAutoDisposeOnOutOfSynchProperty=false)
 
bool HasChanged< T > (T newValue, T oldValue, bool forceChangeDuringInitializing=true)
 Are the two objects equals?
 
void PropertyAssigned< T > (IProperty property, string name, T newValue, T oldValue)
 
virtual Type GetParentType ()
 
virtual Type GetSiblingType ()
 
virtual Type GetChildType ()
 
virtual bool CanBeDisabled ()
 
override void OnDisable ()
 
override void OnEnable ()
 
virtual void ActiveAndEnabledChanged (bool newValue, bool oldValue)
 
virtual PropertyMonoBehaviour GetRootParent ()
 
virtual PropertyMonoBehaviour ValidatedParent (PropertyMonoBehaviour value)
 
virtual bool SetParent (PropertyMonoBehaviour value)
 
virtual void ParentChanged (PropertyMonoBehaviour newValue, PropertyMonoBehaviour oldValue)
 
virtual bool AddChild (PropertyMonoBehaviour child)
 
virtual bool RemoveChild (PropertyMonoBehaviour child)
 
virtual bool ApplyBeforeChildren (Action< PropertyMonoBehaviour > callback)
 
virtual void IterateOverChildren (Action< PropertyMonoBehaviour > callback=null)
 
bool RemoveListItem< T > (List< T > list, T property)
 
void IterateThroughList< T > (IList< T > list, Action< T > callback)
 
virtual bool ApplyAfterChildren (Action< PropertyMonoBehaviour > callback)
 
bool TriggerCallback< T > (T child, Action< T > callback)
 
virtual void ClearDirtyFlags ()
 
- Protected Member Functions inherited from DepictionEngine.MonoBehaviourDisposable
virtual void Awake ()
 
bool IsDuplicateInitializing ()
 
virtual void DestroyAfterFailedInitialization ()
 
virtual void Initializing ()
 The first step of the initialization process.
 
virtual void InitializeUID (InitializationContext initializingContext)
 Initializes the object's unique identifiers.
 
virtual bool AddToInstanceManager ()
 Add the object to the DepictionEngine.InstanceManager if possible.
 
virtual bool Initialize (InitializationContext initializingContext)
 The main initialization function.
 
virtual bool IsValidInitialization (InitializationContext initializingContext)
 Provides the ability to interrupt the initialization.
 
bool InitValue< T > (Action< T > callback, T defaultValue, InitializationContext initializingContext)
 
bool InitValue< T > (Action< T > callback, T defaultValue, Func< T > duplicateValue, InitializationContext initializingContext)
 
virtual bool IsFullyInitialized ()
 
virtual bool UpdateAllDelegates ()
 Function to initialize event handlers.
 
virtual void Saving (UnityEngine.SceneManagement.Scene scene, string path)
 
virtual void Saved (UnityEngine.SceneManagement.Scene scene)
 
virtual bool LateInitialize (InitializationContext initializingContext)
 Every other objects are initialized at this point.
 
virtual bool PostLateInitialize (InitializationContext initializingContext)
 Every other objects are initialized at this point.
 
bool IsFallbackValues ()
 
bool IsNotFallbackValues ()
 
bool IsDestroying ()
 Is the object destroying?
 
virtual bool UpdateHideFlags ()
 
virtual DisposeContext GetDisposingContext ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Properties

SerializableGuid parentId [get, set]
 
new TransformDouble parent [get]
 The parent of the Transform.
 
Vector3Double forward [get]
 
Vector3Double back [get]
 
Vector3Double right [get]
 
Vector3Double left [get]
 
Vector3Double up [get]
 
Vector3Double down [get]
 
Matrix4x4Double worldToLocalMatrix [get]
 Matrix that transforms a point from world space into local space (Read Only).
 
Matrix4x4Double localToWorldMatrix [get]
 Matrix that transforms a point from local space into world space (Read Only).
 
override bool positionDirty [set]
 
override bool rotationDirty [set]
 
override bool lossyScaleDirty [set]
 
Vector3Double position [get, set]
 
Vector3Double localPosition [get, set]
 Position of the transform relative to the parent transform.
 
GeoCoordinate3Double geoCoordinate [get, set]
 Geo Coordinate of the transform relative to the parent DepictionEngine.GeoAstroObject.
 
QuaternionDouble rotation [get, set]
 A Quaternion that stores the rotation of the Transform in world space.
 
Vector3Double localEulerAngles [get, set]
 The rotation as Euler angles in degrees.
 
QuaternionDouble localRotation [get, set]
 The rotation of the transform relative to the transform rotation of the parent.
 
Vector3Double lossyScale [get]
 
Vector3Double localScale [get, set]
 The scale of the transform relative to the GameObjects parent.
 
- Properties inherited from DepictionEngine.TransformBase
int index [get, set]
 An index number representing the order of the children in relation to their siblings.
 
bool isGeoCoordinateTransform [get, protected set]
 
int childCount [get]
 
Vector3 transformLocalPosition [get, set]
 
Quaternion transformLocalRotation [get, set]
 
Vector3 transformLocalScale [get, set]
 
virtual bool positionDirty [get, set]
 
virtual bool rotationDirty [get, set]
 
virtual bool lossyScaleDirty [get, set]
 
bool localToWorldMatrixDirty [get]
 
bool worldToLocalMatrixDirty [get]
 
Object objectBase [get, protected set]
 
Object parentObject [get, protected set]
 
GeoAstroObject parentGeoAstroObject [get]
 
- Properties inherited from DepictionEngine.JsonMonoBehaviour
JSONNode initializationJson [get]
 
new bool enabled [get, set]
 Enabled Behaviours are Updated, disable Behaviours are not.
 
- Properties inherited from DepictionEngine.PropertyMonoBehaviour
Type type [get]
 The Cass type.
 
List< PropertyMonoBehaviourchildren [get]
 
Action< IProperty, string, object, object > PropertyAssignedEvent [get, set]
 Dispatched when a new value as been assigned to a field using the DepictionEngine.PropertyMonoBehaviour.SetValue method.
 
SerializableGuid id [get]
 Global unique identifier.
 
bool activeAndEnabled [get]
 Returns true if gameObject.activeInHierarchy == true and enabled == true.
 
PropertyMonoBehaviour parent [get, set]
 The object above in the hierarchy.
 
virtual JSONNode parentJson [get, set]
 
- Properties inherited from DepictionEngine.MonoBehaviourDisposable
bool wasFirstUpdated [get]
 
bool initialized [get]
 Has the object been initialized.
 
bool instanceAdded [get, set]
 
bool isFallbackValues [get]
 Was this component created by a DepictionEngine.FallbackValues.
 
IScriptableBehaviour originator [get]
 Which DepictionEngine.IScriptableBehaviour triggered the current code execution if any at all.
 
DisposeContext disposingContext [get]
 The DepictionEngine.DisposeContext under which the object was destroyed.
 
bool poolComplete [get, set]
 Is the object done disposing.
 
Action< IDisposableInitializedEvent [get, set]
 Dispatched after the object as been initialized.
 
Action< IDisposable, DisposeContextDisposedEvent [get, set]
 Dispatched during the DepictionEngine.MonoBehaviourDisposable.OnDispose, DepictionEngine.ScriptableObjectDisposable.OnDispose or DepictionEngine.Disposable.OnDispose.
 
SceneManager sceneManager [get]
 
InstanceManager instanceManager [get]
 
DatasourceManager datasourceManager [get]
 
TweenManager tweenManager [get]
 
InputManager inputManager [get]
 
CameraManager cameraManager [get]
 
PoolManager poolManager [get]
 
RenderingManager renderingManager [get]
 
- Properties inherited from DepictionEngine.IScriptableBehaviour
string name [get, set]
 
bool isFallbackValues [get]
 Was this component created by a DepictionEngine.FallbackValues.
 
IScriptableBehaviour originator [get]
 Which DepictionEngine.IScriptableBehaviour triggered the current code execution if any at all.
 
- Properties inherited from DepictionEngine.IDisposable
Action< IDisposableInitializedEvent [get, set]
 Dispatched after the object as been initialized.
 
Action< IDisposable, DisposeContextDisposedEvent [get, set]
 Dispatched during the DepictionEngine.MonoBehaviourDisposable.OnDispose, DepictionEngine.ScriptableObjectDisposable.OnDispose or DepictionEngine.Disposable.OnDispose.
 
bool initialized [get]
 Has the object been initialized.
 
bool poolComplete [get, set]
 Is the object done disposing.
 
DisposeContext disposingContext [get]
 The DepictionEngine.DisposeContext under which the object was destroyed.
 
- Properties inherited from DepictionEngine.IProperty
SerializableGuid id [get]
 The DepictionEngine.SerializableGuid of the object.
 
Action< IProperty, string, object, object > PropertyAssignedEvent [get, set]
 Dispatched when a new value as been assigned to a field using the DepictionEngine.PropertyMonoBehaviour.SetValue method.
 
- Properties inherited from DepictionEngine.IHasChildren
int childCount [get]
 

Additional Inherited Members

- Public Types inherited from DepictionEngine.TransformBase
enum  Component : byte {
  None = 1 << 0 , Position = 1 << 1 , Rotation = 1 << 2 , LossyScale = 1 << 3 ,
  LocalPosition = 1 << 4 , LocalRotation = 1 << 5 , LocalScale = 1 << 6
}
 The different transform components.
 
- Protected Attributes inherited from DepictionEngine.TransformBase
bool _positionDirty
 
bool _rotationDirty
 
bool _lossyScaleDirty
 
- Protected Attributes inherited from DepictionEngine.PropertyMonoBehaviour
bool ignoreGameObjectActiveChange
 

Detailed Description

64 bit double version of the Transform.

Member Function Documentation

◆ ForceUpdateTransform()

override bool DepictionEngine.TransformDouble.ForceUpdateTransform ( out Component  changedComponents,
bool  localPositionChanged = false,
bool  localRotationChanged = false,
bool  localScaleChanged = false,
Camera  camera = null,
bool  forceDeriveLocalPosition = false,
bool  triggerTransformChanged = true 
)
virtual

Reimplemented from DepictionEngine.TransformBase.

◆ InitializeLastFields()

override bool DepictionEngine.TransformDouble.InitializeLastFields ( )
protectedvirtual

Reimplemented from DepictionEngine.TransformBase.

◆ InitializeSerializedFields()

override void DepictionEngine.TransformDouble.InitializeSerializedFields ( InitializationContext  initializingContext)
protectedvirtual

Initialize SerializedField's to their default values.

Parameters
initializingContext

Reimplemented from DepictionEngine.TransformBase.

◆ IsChildOf()

bool DepictionEngine.TransformDouble.IsChildOf ( TransformDouble  transform)

Returns true if the transform is a child.

Parameters
transform
Returns

◆ IsGeoCoordinateTransformChanged()

override void DepictionEngine.TransformDouble.IsGeoCoordinateTransformChanged ( )
protectedvirtual

Reimplemented from DepictionEngine.TransformBase.

◆ IsTransformProperty()

static bool DepictionEngine.TransformDouble.IsTransformProperty ( string  name)
static

Is the property name DepictionEngine.TransformDouble.position, DepictionEngine.TransformDouble.rotation or DepictionEngine.TransformDouble.lossyScale.

Parameters
name
Returns

◆ OnDispose()

override bool DepictionEngine.TransformDouble.OnDispose ( DisposeContext  disposeContext)
virtual

This is where you dispose any remaining dependencies.

Parameters
disposeContextThe context under which the object is being destroyed.
Returns
False if the object was already disposed otherwise True.

Reimplemented from DepictionEngine.TransformBase.

◆ ParentChanged()

override void DepictionEngine.TransformDouble.ParentChanged ( PropertyMonoBehaviour  newValue,
PropertyMonoBehaviour  oldValue 
)
protectedvirtual

◆ Recycle()

override void DepictionEngine.TransformDouble.Recycle ( )
virtual

Resets the fields to their default value so the object can be reused again. It will be called by the DepictionEngine.PoolManager if the object is being recycled from the pool.

Reimplemented from DepictionEngine.TransformBase.

◆ RotateAround()

void DepictionEngine.TransformDouble.RotateAround ( Vector3Double  point,
Vector3Double  axis,
double  angle 
)

Rotates the transform about axis passing through point in world coordinates by angle degrees.

Parameters
point
axis
angle

◆ SetParent()

override bool DepictionEngine.TransformDouble.SetParent ( TransformBase  value,
bool  worldPositionStays = true 
)
virtual

Reimplemented from DepictionEngine.TransformBase.

◆ UpdateUnityTransformComponents()

override bool DepictionEngine.TransformDouble.UpdateUnityTransformComponents ( ref TransformComponents3  unityTransformComponents,
Vector3Double  origin,
bool  forceOriginShiftSelected 
)
protectedvirtual

Reimplemented from DepictionEngine.TransformBase.


The documentation for this class was generated from the following file: