The XCamera type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a XSprite sprite to this sprite.
(Inherited from XSprite.) | |
| AddDecorator |
Adds IXSpriteDecorator decorator to the XSprite sprite.
(Inherited from XSprite.) | |
| AutoAnimate |
Carries out the object animation.
(Inherited from XSprite.) | |
| CalculateViewDepthSq |
Returns square of the object distance from the camera (object "depth" from the camera view).
| |
| Clear |
Removes all sprites from the Sprites collection.
(Inherited from XSprite.) | |
| Clone |
Creates an object that is a copy of this instance.
(Overrides XSprite..::.Clone()()().) | |
| CollideWith | Overloaded. | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. | |
| CullModeToMaterialCullMode |
Converts the XCameraCullMode enumeration to the corresponding value in the XMaterialCullMode.
| |
| Dispose | Overloaded. | |
| Equals | (Inherited from Object.) | |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. | |
| FindDecorator |
Finds the IXSpriteDecorator decorator with the name name.
(Inherited from XSprite.) | |
| FindModelSprite | Overloaded. | |
| FindSprite | Overloaded. | |
| ForceSetModelTransformation |
Force setting of the model transform matrix.
(Inherited from XSprite.) | |
| GetAnimationIndex |
Returns sprite animation number.
(Inherited from XSprite.) | |
| GetCollisionWith |
Returns information about collision with another sprite.
(Inherited from XSprite.) | |
| GetFieldOfViewWithAspectRatio | Overloaded. | |
| GetFieldOfViewWithAspectRatioInversed |
Calculates the field angle from the inverse aspect ratio.
| |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. | |
| GetLocalDirection | Overloaded. | |
| GetLocalPosition | Overloaded. | |
| GetLocalToModelPosition |
Recalculates the local coordinates to the model coordinates using the model transform.
(Inherited from XSprite.) | |
| GetModelBoundingBox |
Gets the XOrientedBox oriented box for this sprite.
(Inherited from XSprite.) | |
| GetModelBoundingVolume |
Gets the axially aligned sprite model XAxisAlignedBox box.
(Inherited from XSprite.) | |
| GetModelToLocalPosition |
Recalculates the model coordinates to the local coordinates using the model transform.
(Inherited from XSprite.) | |
| GetModelWorldOB |
Gets the XOrientedBox oriented box for this sprite in the world coordinates.
(Inherited from XSprite.) | |
| GetPosition | Overloaded. | |
| GetProjectionTransformation | Overloaded. | |
| GetService | (Inherited from Component.) | |
| GetType | Gets the Type of the current instance. | |
| GetViewportWorldRay |
Creates a world ray that starts on the user screen at given coordinates and continues in the direction from the observer.
| |
| GetWorldDirection |
Recalculates the direction vector in the local coordinates to the world coordinates.
(Inherited from XSprite.) | |
| GetWorldPosition |
Recalculates the local coordinates to the world coordinates.
(Inherited from XSprite.) | |
| GetWorldRenderableTransform |
Returns the world renderable IXRenderableTransform transform.
(Inherited from XSprite.) | |
| Hide |
Hides the sprite.
(Inherited from XSprite.) | |
| ChangedNotify |
Informs about sprite changes.
(Inherited from XSprite.) | |
| ChangedNotifyFromParent |
Informs about parent sprite changes.
(Inherited from XSprite.) | |
| ChangedNotifyChildren |
Informs child sprites in the Sprites collection about the parent sprite change.
(Inherited from XSprite.) | |
| CheckCollisions |
Checks sprite collision with the surrounding space.
(Inherited from XSprite.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. | |
| InvalidateBoundingVolume |
Invalidates the boundary volume.
(Inherited from XSprite.) | |
| InvalidateParentBoundingVolume |
Invalidates the parent boundary volume.
(Inherited from XSprite.) | |
| InvalidateWorldBoundingVolume |
Invalidates tne boundary volume in the world coordinates.
(Inherited from XSprite.) | |
| IsSubordinateOf |
Indicates whether the sprite is contained in the sprite sprite.
(Inherited from XSprite.) | |
| LastFindModelSprite | Overloaded. | |
| LastFindSprite | Overloaded. | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| ModelRayIntersect |
Calculates the modelRay ray intersection with the mesh of the sprite, in local coordinates.
(Inherited from XSprite.) | |
| Move | Overloaded. | |
| MoveLocal | Overloaded. | |
| MoveLocalInDirection | Overloaded. | |
| NeedValidBoundingVolume |
Request for the sprite boundary volume.
(Inherited from XSprite.) | |
| NeedValidLocalTransfrom |
Requires valid transform matrix in the local coordinates.
(Inherited from XSprite.) | |
| NeedValidWorldBoundingVolume |
Updates the sprite boundary volume in the world coordinates.
(Inherited from XSprite.) | |
| NeedValidWorldModelTransform |
Requires valid model transform matrix in the world coordinates.
(Inherited from XSprite.) | |
| NeedValidWorldTransform |
Requires valid transform matrix in the world coordinates.
(Inherited from XSprite.) | |
| OnAfterAnimate |
Fire event AfterAnimate.
(Inherited from XSprite.) | |
| OnAnimate |
Fire event Animate.
(Inherited from XSprite.) | |
| OnAutoAnimate |
The method is called on object animation request.
(Inherited from XSprite.) | |
| OnBeforeAnimate |
Fire event BeforeAnimate.
(Inherited from XSprite.) | |
| OnCollision |
Fire event Collision.
(Inherited from XSprite.) | |
| OnDirectionChanged |
Method called when the sprite orientation has changed.
(Inherited from XSprite.) | |
| OnLocalTransformationChanged |
Fire event LocalTransformationChanged.
(Inherited from XSprite.) | |
| OnParentChanged |
Fire event ParentChanged.
(Inherited from XSprite.) | |
| OnPutRenderable | (Inherited from XSprite.) | |
| OnSpriteInsertComplete |
The method is called by the collection after finished adding of a new XSprite sprite.
(Inherited from XSprite.) | |
| OnSpriteRemoveComplete |
The method is called by the collection after finished removing of a XSprite sprite.
(Inherited from XSprite.) | |
| OnSubspriteInserted |
Fire event SubspriteInserted.
(Inherited from XSprite.) | |
| OnSubspriteRemoved |
Fire event SubspriteRemoved.
(Inherited from XSprite.) | |
| Pitch |
Sets pitch (vertical divergence) in radians.
(Inherited from XSprite.) | |
| PitchDgr |
Sets pitch (vertical divergence) in degrees.
(Inherited from XSprite.) | |
| PlayAnimation | Overloaded. | |
| PointAt | Overloaded. | |
| PointAtParentLocalDirection |
Turns towards the local coordinate parentDirection.
(Inherited from XSprite.) | |
| PutCamera | ||
| PutRenderable | (Overrides XSprite..::.PutRenderable(XRenderQueue, XRenderContext).) | |
| RayIntersect | Overloaded. | |
| RefineCollision |
Refines the information about collision with the sprite sprite2.
(Inherited from XSprite.) | |
| Remove | Overloaded. | |
| RemoveDecorator |
Removes the IXSpriteDecorator decorator from the XSprite sprite.
(Inherited from XSprite.) | |
| Rescale | Overloaded. | |
| Reset |
Sets the sprite properties to default values.
(Inherited from XSprite.) | |
| ResetAnimation |
Resets the sprite animation.
(Inherited from XSprite.) | |
| ResetAutoAnimation | Overloaded. | |
| ResetAutoPointing |
Resets the automatic pointing.
(Inherited from XSprite.) | |
| ResetAutoRotation |
Sets the sprite autorotation speed to zero.
(Inherited from XSprite.) | |
| ResetModelTransformation |
Sets the model transform matrix to identity.
(Inherited from XSprite.) | |
| ResetOrientation |
Sets default sprite orientation.
(Inherited from XSprite.) | |
| ResetPivotLocalPosition |
Sets the sprite local pivot (center of rotation) default coordinates.
(Inherited from XSprite.) | |
| ResetPosition |
Sets default sprite position.
(Inherited from XSprite.) | |
| ResetScale |
Sets the sprite scale to 1.
(Inherited from XSprite.) | |
| ResetVelocity |
Sets sprite velocity to zero.
(Inherited from XSprite.) | |
| Roll |
Sets roll in radians.
(Inherited from XSprite.) | |
| RollDgr |
Sets roll in degrees.
(Inherited from XSprite.) | |
| Rotate | Overloaded. | |
| RotateDgr | Overloaded. | |
| SetAutoPointing | Overloaded. | |
| SetAutoRotation | Overloaded. | |
| SetAutoRotationAxis | Overloaded. | |
| SetAutoRotationDgr | Overloaded. | |
| SetOrientation | Overloaded. | |
| SetOrientationDgr | Overloaded. | |
| SetParent |
Sets new sprite XSprite parent.
(Inherited from XSprite.) | |
| SetPivotLocalPosition | Overloaded. | |
| SetPosition | Overloaded. | |
| SetRenderDetail |
Sets the mode of filling surfaces.
(Inherited from XSprite.) | |
| SetScale | Overloaded. | |
| SetVelocity | Overloaded. | |
| SetWorldPosition | Overloaded. | |
| Show |
Shows the sprite.
(Inherited from XSprite.) | |
| SphereInFrustum |
Calculates whether the sphere of the radius radius and the center position is inside the field angle.
| |
| ToString | (Inherited from Component.) | |
| UpdateBoundingVolume |
Updates the sprite boundary volume.
(Inherited from XSprite.) | |
| UpdateLocalTransform |
Updates the transform matrix in the local coordinates.
(Inherited from XSprite.) | |
| UpdateWorldBoundingVolume |
Request for the sprite boundary volume in the world coordinates.
(Inherited from XSprite.) | |
| UpdateWorldModelTransform |
Updates the model world transform.
(Inherited from XSprite.) | |
| UpdateWorldTransform |
Updates the world transform.
(Overrides XSprite..::.UpdateWorldTransform()()().) | |
| WorldRayIntersect | Overloaded. | |
| Yaw |
Sets yaw (horizontal divergence) in radians.
(Inherited from XSprite.) | |
| YawDgr |
Sets yaw (horizontal divergence) in degrees.
(Inherited from XSprite.) |
Fields
| Name | Description | |
|---|---|---|
| DefaultCullMode |
Default mode of displaying far sides.
|
Properties
| Name | Description | |
|---|---|---|
| Animation |
Gets or sets the active sprite animation number.
(Inherited from XSprite.) | |
| AnimationCount |
Gets the animation count that this sprite supports.
(Inherited from XSprite.) | |
| AnimationNames |
Gets all animation names that this sprite supports.
(Inherited from XSprite.) | |
| Animations |
Gets all animations that this sprite supports in the form of a AnimationSet collection.
(Inherited from XSprite.) | |
| AnimationSpeed |
Gets or sets the animation speed.
(Inherited from XSprite.) | |
| AnimationTime |
Gets or sets the animation duration time.
(Inherited from XSprite.) | |
| AspectRatio |
Gets or sets the displayed window aspect ratio.
| |
| Attributes |
Gets the sprite Hashtable attributes table.
(Inherited from XSprite.) | |
| AutoAnimation |
Enables or disables the automatic animation.
(Inherited from XSprite.) | |
| AutoAnimationPaused |
Gets or sets whether the automatic animation is paused (disabled, no animation evens are being sent).
(Inherited from XSprite.) | |
| AutoPlaneUpdating |
Enables or disables the automatic changing of the near and the far plane while moving a camera.
| |
| AutoPointing |
Enables or disables the automatic pointing.
(Inherited from XSprite.) | |
| AutoPointingOffset |
Gets or sets the offset in tle local coordinates of the sprite pointed at.
(Inherited from XSprite.) | |
| AutoPointingTarget |
Gets or sets the sprite that this sprite will be pointing at.
(Inherited from XSprite.) | |
| AutoRotation |
Gets the sprite autorotation in the form of Quaternion.
(Inherited from XSprite.) | |
| AutoRotationAngle |
Gets or sets the rotation angle in the autorotation, in radians.
(Inherited from XSprite.) | |
| AutoRotationAngleDgr |
Gets or sets the rotation angle in the autorotation, in degrees.
(Inherited from XSprite.) | |
| AutoRotationAxis |
Gets or sets the sprite autorotation axis.
(Inherited from XSprite.) | |
| AutoRotationPaused |
Gets or sets whether the autorotation is paused.
(Inherited from XSprite.) | |
| AutoRotationSpeed |
Gets or sets the autorotation speed in radians per second.
(Inherited from XSprite.) | |
| AutoRotationSpeedDgr |
Gets or sets the autorotation speed in degrees per second.
(Inherited from XSprite.) | |
| BoundingVolume |
Gets the sprite XAxisAlignedBox boundary volume.
(Inherited from XSprite.) | |
| BoundingVolumeLineBox |
Gets the XBoundingVolumeLineBoxSpriteDecorator decorator that bounds the sprite with wire box, showing the sprite's boundary volume.
(Inherited from XSprite.) | |
| CollisionDetection |
Gets or sets the XCollisionDetection collision detection of this sprite with another sprites.
(Inherited from XSprite.) | |
| Color |
Gets or sets the color of the single-color material.
(Inherited from XSprite.) | |
| Container | Gets the IContainer that contains the Component. | |
| CullMode |
Gets or sets the mode how the camera displays the far sides.
| |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. | |
| DirectionOrientation |
Gets the Quaternion orientation direction.
(Inherited from XSprite.) | |
| Events | Gets the list of event handlers that are attached to this Component. | |
| FieldOfView |
Gets or sets the camera field angle in radians.
| |
| FieldOfViewAspectRatio |
Gets or sets the field angle aspect ratio.
| |
| FieldOfViewDgr |
Gets or sets the camera field angle in degrees.
| |
| ForwardDirection |
Gets or sets the forward direction.
(Inherited from XSprite.) | |
| HasMaterial |
Returns trueTruetruetrue (True in Visual Basic) if the sprite contains a material, otherwise falseFalsefalsefalse (False in Visual Basic).
(Inherited from XSprite.) | |
| HasParent |
Returns trueTruetruetrue (True in Visual Basic) if the sprite has parent.
(Inherited from XSprite.) | |
| Id |
Gets unique sprite identifier.
(Inherited from XSprite.) | |
| IsFieldOfViewForced |
Gets or sets whether the FieldOfView shlould be used.
| |
| IsRoot |
Returns trueTruetruetrue (True in Visual Basic) if the sprite is the root sprite.
(Inherited from XSprite.) | |
| IsScaled |
Returns trueTruetruetrue (True in Visual Basic) if the sprite is scaled.
(Inherited from XSprite.) | |
| IsWorldRoot |
Returns trueTruetruetrue (True in Visual Basic) if the sprite is the world root sprite.
(Inherited from XSprite.) | |
| Item |
Gets the XSprite sprite in the sprite collection that this instance contains.
(Inherited from XSprite.) | |
| LengthUnit |
Gets the unit distance in this world.
(Inherited from XSprite.) | |
| LocalTransformation |
Gets sprite transform matrix in the local coordinates.
(Inherited from XSprite.) | |
| Material |
Gets or sets the XMaterial material for this sprite.
(Inherited from XSprite.) | |
| ModelBoundingVolume |
Gets the model XAxisAlignedBox boundary volume.
(Inherited from XSprite.) | |
| ModelTransformation |
Gets or sets the model transforming matrix.
(Inherited from XSprite.) | |
| ModelTransformationUsed |
Returns trueTruetruetrue (True in Visual Basic) if the model transforming matrix is used.
(Inherited from XSprite.) | |
| ModelWorldBoundingVolume |
Gets the model XAxisAlignedBox boundary volume in the world coordinates.
(Inherited from XSprite.) | |
| ModelWorldTransformation |
Gets the world model transforming matrix.
(Inherited from XSprite.) | |
| Name |
Gets or sets the sprite name.
(Inherited from XSprite.) | |
| Orientation |
Gets or sets an orientation Quaternion.
(Inherited from XSprite.) | |
| OrientationDgr |
Gets or sets an orientation of the sprite in degrees.
(Inherited from XSprite.) | |
| Parent |
Gets or sets the sprite parent.
(Inherited from XSprite.) | |
| PivotLocalPosition |
Gets or sets the sprite local pivot (center of rotation) coordinates.
(Inherited from XSprite.) | |
| PivotLocalPositionX |
Gets or sets the sprite local pivot (center of rotation) X coordinate.
(Inherited from XSprite.) | |
| PivotLocalPositionY |
Gets or sets the sprite local pivot (center of rotation) Y coordinate.
(Inherited from XSprite.) | |
| PivotLocalPositionZ |
Gets or sets the sprite local pivot (center of rotation) Z coordinate.
(Inherited from XSprite.) | |
| PointAtAlgorithm |
Gets or sets the sprite point at algorithm.
XSprite..::.PointAtFreeRotationXSprite..::.PointAtYawUpRotationvalue is nullNothingnullptra null reference (Nothing in Visual Basic). (Inherited from XSprite.) | |
| Position |
Gets or sets a position of the sprite.
(Inherited from XSprite.) | |
| RenderDetail |
Gets or sets the mode of filling surfaces.
(Inherited from XSprite.) | |
| Root |
Gets the root XSprite sprite of this instance. Root sprite is sprite that does not have parent sprite.
(Inherited from XSprite.) | |
| Scale |
Gets or sets the sprite scale.
(Inherited from XSprite.) | |
| ScaleXYZ |
Gets or sets the sprite homogeneous scale.
(Inherited from XSprite.) | |
| Site | (Inherited from Component.) | |
| Sprites |
Gets the collection of XSprite sprites that this sprite instance contains.
(Inherited from XSprite.) | |
| SyncRoot |
Returns the object that can be used for synchronizing access to this instance.
(Inherited from XSprite.) | |
| Text |
Gets or sets the name of the sprite.
(Inherited from XSprite.) | |
| Timer |
Gets the XTimer class instance for working with time in this world.
(Inherited from XSprite.) | |
| UpwardDirection |
Gets or sets the upward direction.
(Inherited from XSprite.) | |
| UsingIdentityProjection |
Gets or sets the use of the identity projection.
| |
| UsingIdentityView |
Gets or sets the use of the identity view.
| |
| UsingOrthogonalProjection |
Gets or sets the use of the orthogonal projection.
| |
| Velocity |
Gets or sets the sprite velocity.
(Inherited from XSprite.) | |
| VelocityX |
Gets or sets the sprite velocity in the direction of X.
(Inherited from XSprite.) | |
| VelocityY |
Gets or sets the sprite velocity in the direction of Y.
(Inherited from XSprite.) | |
| VelocityZ |
Gets or sets the sprite velocity in the direction of Z.
(Inherited from XSprite.) | |
| ViewTransformation |
Gets the view transform.
| |
| Visible |
Gets or sets the sprite visibility.
(Inherited from XSprite.) | |
| World |
Returns the XWorld world that contains the sprite.
(Inherited from XSprite.) | |
| WorldBoundingVolume |
Gets the sprite XAxisAlignedBox boundary volume in the world coordinates.
(Inherited from XSprite.) | |
| WorldOrientation |
Gets the sprite orientation in the world coordinates.
(Inherited from XSprite.) | |
| WorldPosition |
Gets coordinates in the XWorld world. In opposite to the Position, this property does not reffer to the relative position in parent, but to the world coordinates.
(Inherited from XSprite.) | |
| WorldTransformation |
Gets sprite transform matrix in the world coordinates.
(Inherited from XSprite.) | |
| WorldVisible |
Returns trueTruetruetrue (True in Visual Basic) if the sprite is visible in the XWorld world. The difference from Visible is that this tests the parent visibility.
(Inherited from XSprite.) | |
| X |
Gets or sets the X coordinate of the sprite.
(Inherited from XSprite.) | |
| Y |
Gets or sets the Y coordinate of the sprite.
(Inherited from XSprite.) | |
| Z |
Gets or sets the Z coordinate of the sprite.
(Inherited from XSprite.) | |
| ZFarPlane |
Gets or sets the observer sight plane distance. No sprites behind this plane will be drawed.
| |
| ZNearPlane |
Gets or sets the observer projection plane. No sprites before this plane will be drawed.
|
Events
| Name | Description | |
|---|---|---|
| AfterAnimate |
The event is fired after carrying out the sprite animation.
(Inherited from XSprite.) | |
| Animate |
The event is fired when the sprite is animated.
(Inherited from XSprite.) | |
| BeforeAnimate |
The event is fired before carrying out the sprite animation.
(Inherited from XSprite.) | |
| Collision |
Event is fired if the sprites collides with another one.
(Inherited from XSprite.) | |
| Disposed | Adds an event handler to listen to the Disposed event on the component. | |
| LocalTransformationChanged |
The event is fired when sprite transform matrix is changed.
(Inherited from XSprite.) | |
| ParentChanged |
Event that tracks sprite parent change.
(Inherited from XSprite.) | |
| SubspriteInserted |
Event that tracks adding of a sprite to the Sprites sprite collection.
(Inherited from XSprite.) | |
| SubspriteRemoved |
Event that tracks removing of a sprite from the Sprites sprite collection.
(Inherited from XSprite.) |