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

Public Member Functions

void MoveTo (GeoCoordinate3Double geoCoordinate, float duration=3.0f, double toDistance=200.0d)
 Start moving the camera and target to the specified parameters.
 
void MoveTo (Vector3Double position, double toDistance=200.0d)
 Start moving the camera and target to the specified parameters.
 
void MoveTo (Vector3Double position, double toDistance=200.0d, float duration=3.0f)
 Start moving the camera and target to the specified parameters.
 
void StopAllAnimation ()
 
override bool OnDispose (DisposeContext disposeContext)
 This is where you dispose any remaining dependencies.
 
- Public Member Functions inherited from DepictionEngine.TargetControllerBase
virtual bool SetTargetPositionRotationDistance (Vector3Double targetPosition, QuaternionDouble rotation, double cameraDistance)
 
GeoAstroObject GetTargetParentGeoAstroObject ()
 
bool SetTargetPosition (Vector3Double value, bool forceUpdate=true)
 
Vector3Double GetCameraPosition (Vector3Double targetPosition, QuaternionDouble rotation, double distance)
 
Vector3Double GetTargetPosition ()
 
void GetGeoAstroObjectSurfaceComponents (out Vector3Double targetPosition, out QuaternionDouble rotation, out double cameraDistance, GeoAstroObject geoAstroObject)
 
override void UpdateControllerTransform (Camera camera)
 
override bool OnDispose (DisposeContext disposeContext)
 This is where you dispose any remaining dependencies.
 
- Public Member Functions inherited from DepictionEngine.ControllerBase
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 UpdateControllerTransform (Camera camera)
 
void ForceUpdateTransformPending (bool localPositionChanged=false, bool localRotationChanged=false, bool localScaleChanged=false)
 
bool ForceUpdateTransform (bool localPositionChanged=false, bool localRotationChanged=false, bool localScaleChanged=false, Camera camera=null)
 
- Public Member Functions inherited from DepictionEngine.Script
float GetSphericalRatio ()
 
- 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.
 

Protected Member Functions

override void InitializeSerializedFields (InitializationContext initializingContext)
 Initialize SerializedField's to their default values.
 
override bool GetDefaultPreventMeshPenetration ()
 
override bool UpdateAllDelegates ()
 Function to initialize event handlers.
 
override QuaternionDouble GetRotation ()
 
override double GetMinForwardVectorX ()
 
override Vector2Double GetDefaultMinMaxDistance ()
 
override bool SetMinMaxDistance (Vector2Double value)
 
override void UpdateTargetControllerTransform (Camera camera)
 
- Protected Member Functions inherited from DepictionEngine.TargetController
override void InitializeSerializedFields (InitializationContext initializingContext)
 Initialize SerializedField's to their default values.
 
virtual bool GetDefaultPreventMeshPenetration ()
 
virtual double GetMinForwardVectorX ()
 
override void TargetChanged (Object newValue, Object oldValue)
 
override void ValidateTargetControllerTransform (Camera camera)
 
override void TargetTransformChanged (TransformBase.Component changedComponent, TransformBase.Component capturedComponent)
 
- Protected Member Functions inherited from DepictionEngine.TargetControllerBase
override void IterateOverComponentReference (Action< SerializableGuid, Action > callback)
 
override void InitializeSerializedFields (InitializationContext initializingContext)
 Initialize SerializedField's to their default values.
 
override bool UpdateAllDelegates ()
 Function to initialize event handlers.
 
void TargetTransformChangedHandler (TransformBase.Component changedComponent, TransformBase.Component capturedComponent)
 
virtual void TargetTransformChanged (TransformBase.Component changedComponent, TransformBase.Component capturedComponent)
 
override bool TransformChanged (TransformBase.Component changedComponent, TransformBase.Component capturedComponent)
 
virtual Vector2Double GetDefaultMinMaxDistance ()
 
virtual QuaternionDouble GetRotation ()
 
bool SetRotation (QuaternionDouble value)
 
virtual void TargetChanged (Object newValue, Object oldValue)
 
bool SetDistance (double value)
 
double ClampDistance (double distance)
 
virtual Vector2Double GetMinMaxDistance ()
 
virtual bool SetMinMaxDistance (Vector2Double value)
 
virtual void UpdateTargetControllerTransform (Camera camera)
 
virtual void ValidateTargetControllerTransform (Camera camera)
 
override bool TransformControllerCallback (LocalPositionParam localPositionParam, LocalRotationParam localRotationParam, LocalScaleParam localScaleParam, Camera camera=null)
 
- Protected Member Functions inherited from DepictionEngine.ControllerBase
override bool AddInstanceToManager ()
 Should this object be added to the DepictionEngine.InstanceManager.
 
override bool RemoveObjectBaseDelegate (Object objectBase)
 
override bool AddObjectBaseDelegate (Object objectBase)
 
virtual bool TransformControllerCallback (LocalPositionParam localPositionParam, LocalRotationParam localRotationParam, LocalScaleParam localScaleParam, Camera camera=null)
 
override void ActiveAndEnabledChanged (bool newValue, bool oldValue)
 
- Protected Member Functions inherited from DepictionEngine.Script
override bool UpdateAllDelegates ()
 Function to initialize event handlers.
 
void UpdateParentGeoAstroObjectDelegates ()
 
virtual bool RemoveObjectBaseDelegate (Object objectBase)
 
virtual bool AddObjectBaseDelegate (Object objectBase)
 
virtual void ObjectPropertyAssignedHandler (IProperty property, string name, object newValue, object oldValue)
 
virtual bool RemoveParentGeoAstroObjectDelegates (GeoAstroObject parentGeoAstroObject)
 
virtual bool AddParentGeoAstroObjectDelegates (GeoAstroObject parentGeoAstroObject)
 
virtual void ParentGeoAstroObjectPropertyAssignedHandler (IProperty property, string name, object newValue, object oldValue)
 
virtual bool TransformPropertyAssigned (IProperty property, string name, object newValue, object oldValue)
 
virtual void TransformParentChanged ()
 
void TransformChangedHandler (TransformBase.Component changedComponent, TransformBase.Component capturedComponent)
 
virtual bool TransformChanged (TransformBase.Component changedComponent, TransformBase.Component capturedComponent)
 
override bool IsFullyInitialized ()
 
bool IsSpherical ()
 
bool IsFlat ()
 
override Type GetParentType ()
 
override bool SetParent (PropertyMonoBehaviour value)
 
virtual bool SetObjectBase (Object value)
 
virtual bool SetParentGeoAstroObject (GeoAstroObject newValue, GeoAstroObject oldValue)
 
- 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

bool snapDistanceToZoom [get, set]
 When enabled the zoom value (derived from distance) will automatically be rounded to the closest round number.
 
bool useInertia [get, set]
 When enabled the target motion will progressively slow down over a period of time depending on velocity.
 
bool dynamicClippingPlanes [get, set]
 When enabled the near and far clipping plane of the DepictionEngine.Camera will be change automatically based on calculations involving the distance between the camera and the target.
 
float clippingDistanceMultiplier [get, set]
 A factor by which the distance between the DepictionEngine.Camera and target distance is multiplied for the DepictionEngine.CameraController.dynamicClippingPlanes calculations.
 
Vector2 minMaxFarClippingDistance [get, set]
 A min and max clamping values for the DepictionEngine.CameraController.dynamicClippingPlanes calculations.
 
Vector2 tiltLimit [get, set]
 A min and max range of normalized atmosphere values, between 0 to 10 (ground to atmosphere edge * 10), inside of which tilt is allowed. Tilt will become progressively restrained (pointing downwards at 90 degrees) as you near the max value.
 
float scrollWheelMultiplier [get, set]
 A factor by which scroll inputs are multiplied to accelerate or slow down zooming.
 
float duration [get, set]
 How long should the move animation last, in seconds.
 
double toDistance [get, set]
 The distance from the target that the DepictionEngine.Camera should reach by the end of the animation.
 
GeoCoordinate3Double toGeoCoordinate [get, set]
 The Geo Coordinate that the target should reach by the end of the animation.
 
- Properties inherited from DepictionEngine.TargetController
bool preventMeshPenetration [get, set]
 When enabled the DepictionEngine.TargetController will always position the object in a way so that it does not penetrate a mesh.
 
Vector3Double forwardVector [get, set]
 A vector pointing from the target towards the object, in degrees.
 
- Properties inherited from DepictionEngine.TargetControllerBase
QuaternionDouble rotation [get, protected set]
 
virtual Object target [get, set]
 
SerializableGuid targetId [get, set]
 The id of the target.
 
double distance [get, set]
 The distance between the object and the target, in world units.
 
Vector2Double minMaxDistance [get, set]
 A min and max clamping values used on the DepictionEngine.TargetControllerBase.distance.
 
- Properties inherited from DepictionEngine.ControllerBase
ComponentChangedPending forceUpdateTransformPending [get]
 
- Properties inherited from DepictionEngine.Script
Object objectBase [get, protected set]
 
GeoAstroObject parentGeoAstroObject [get, protected set]
 
new TransformDouble transform [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.
 

Additional Inherited Members

- Static Public Member Functions inherited from DepictionEngine.TargetControllerBase
static Vector3Double GetTargetPosition (Vector3Double position, QuaternionDouble rotation, double distance)
 
- 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 _)
 
- Static Public Attributes inherited from DepictionEngine.TargetController
static readonly Vector3Double DEFAULT_FORWARD_VECTOR_VALUE = new (25.0d, 0.0d, 0.0d)
 
- Static Public Attributes inherited from DepictionEngine.TargetControllerBase
const double PENETRATION_TRESHOLD = 0.05d
 
const double DEFAULT_DISTANCE_VALUE = 1000.0d
 
- Protected Attributes inherited from DepictionEngine.PropertyMonoBehaviour
bool ignoreGameObjectActiveChange
 

Member Function Documentation

◆ GetDefaultMinMaxDistance()

override Vector2Double DepictionEngine.CameraController.GetDefaultMinMaxDistance ( )
protectedvirtual

◆ GetDefaultPreventMeshPenetration()

override bool DepictionEngine.CameraController.GetDefaultPreventMeshPenetration ( )
protectedvirtual

Reimplemented from DepictionEngine.TargetController.

◆ GetMinForwardVectorX()

override double DepictionEngine.CameraController.GetMinForwardVectorX ( )
protectedvirtual

Reimplemented from DepictionEngine.TargetController.

◆ GetRotation()

override QuaternionDouble DepictionEngine.CameraController.GetRotation ( )
protectedvirtual

◆ InitializeSerializedFields()

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

Initialize SerializedField's to their default values.

Parameters
initializingContext

Reimplemented from DepictionEngine.JsonMonoBehaviour.

◆ MoveTo() [1/3]

void DepictionEngine.CameraController.MoveTo ( GeoCoordinate3Double  geoCoordinate,
float  duration = 3::0f,
double  toDistance = 200::0d 
)

Start moving the camera and target to the specified parameters.

Parameters
geoCoordinate
duration
toDistance

◆ MoveTo() [2/3]

void DepictionEngine.CameraController.MoveTo ( Vector3Double  position,
double  toDistance = 200::0d 
)

Start moving the camera and target to the specified parameters.

Parameters
position
toDistance

◆ MoveTo() [3/3]

void DepictionEngine.CameraController.MoveTo ( Vector3Double  position,
double  toDistance = 200::0d,
float  duration = 3::0f 
)

Start moving the camera and target to the specified parameters.

Parameters
position
toDistance
duration

◆ OnDispose()

override bool DepictionEngine.CameraController.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.PropertyMonoBehaviour.

◆ SetMinMaxDistance()

override bool DepictionEngine.CameraController.SetMinMaxDistance ( Vector2Double  value)
protectedvirtual

◆ UpdateAllDelegates()

override bool DepictionEngine.CameraController.UpdateAllDelegates ( )
protectedvirtual

Function to initialize event handlers.

Returns

Reimplemented from DepictionEngine.PropertyMonoBehaviour.

◆ UpdateTargetControllerTransform()

override void DepictionEngine.CameraController.UpdateTargetControllerTransform ( Camera  camera)
protectedvirtual

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