Class TCastleSceneManager
Unit
Declaration
type TCastleSceneManager = class(TCastleAutoNavigationViewport)
Description
Warning: this symbol is deprecated: use TCastleViewport to render scenes. To have the same initial behavior, set FullSize, AutoCamera and AutoNavigation to true
Deprecated way to manage transformations and scenes. To upgrade: - use TCastleViewport - set FullSize, AutoCamera and AutoNavigation to true.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleUserInterface
- TCastleScreenEffects
- TCastleViewport
- TCastleAutoNavigationViewport
- TCastleSceneManager
Overview
Methods
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
procedure Render; override; |
|
function GravityUp: TVector3; deprecated 'use Camera.GravityUp'; |
|
function PhysicsProperties: TPhysicsProperties; deprecated 'use Items.PhysicsProperties'; |
Properties
property MoveLimit: TBox3D read GetMoveLimit write SetMoveLimit; deprecated 'use Items.MoveLimit'; |
|
property Viewports: TCastleViewportList read FViewports; |
|
property HeadlightNode: TAbstractLightNode
read GetHeadlightNode write SetHeadlightNode; deprecated 'use Items.HeadlightNode'; |
|
property MainCamera: TCastleCamera read GetMainCamera write SetMainCamera; deprecated 'use Items.MainCamera'; |
|
property TimeScale: Single read GetTimeScale write SetTimeScale
default 1; deprecated 'use Items.TimeScale'; |
|
property MainScene: TCastleScene read GetMainSceneInternal write SetMainScene; deprecated 'use Items.MainScene'; |
|
property UseHeadlight: TUseHeadlight
read GetUseHeadlight write SetUseHeadlight default hlMainScene; deprecated 'use Items.UseHeadlight'; |
|
property DefaultViewport: boolean
read FDefaultViewport write SetDefaultViewport default true; |
|
property FullSize default true; |
|
property AutoCamera default true; |
|
property AutoNavigation default true; |
Description
Methods
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
procedure Render; override; |
|
function GravityUp: TVector3; deprecated 'use Camera.GravityUp'; |
|
Warning: this symbol is deprecated: use Camera.GravityUp
Up vector, according to gravity. Gravity force pulls in - |
function PhysicsProperties: TPhysicsProperties; deprecated 'use Items.PhysicsProperties'; |
|
Warning: this symbol is deprecated: use Items.PhysicsProperties |
Properties
property MoveLimit: TBox3D read GetMoveLimit write SetMoveLimit; deprecated 'use Items.MoveLimit'; |
|
Warning: this symbol is deprecated: use Items.MoveLimit Limit the movement allowed by TCastleAbstractRootTransform.WorldMoveAllowed. Ignored when empty (default). See also
|
property Viewports: TCastleViewportList read FViewports; |
|
List of viewports connected to this scene manager. This contains all TCastleViewport instances that have TCastleViewport.SceneManager set to us. Also it contains Self (this very scene manager) if and only if DefaultViewport = This list is read-only from the outside! It's automatically managed in this unit (when you change TCastleViewport.SceneManager or TCastleSceneManager.DefaultViewport, we automatically update this list as appropriate). |
property HeadlightNode: TAbstractLightNode
read GetHeadlightNode write SetHeadlightNode; deprecated 'use Items.HeadlightNode'; |
|
Warning: this symbol is deprecated: use Items.HeadlightNode |
property MainCamera: TCastleCamera read GetMainCamera write SetMainCamera; deprecated 'use Items.MainCamera'; |
|
Warning: this symbol is deprecated: use Items.MainCamera |
property TimeScale: Single read GetTimeScale write SetTimeScale
default 1; deprecated 'use Items.TimeScale'; |
|
Warning: this symbol is deprecated: use Items.TimeScale |
property MainScene: TCastleScene read GetMainSceneInternal write SetMainScene; deprecated 'use Items.MainScene'; |
|
Warning: this symbol is deprecated: use Items.MainScene |
property UseHeadlight: TUseHeadlight
read GetUseHeadlight write SetUseHeadlight default hlMainScene; deprecated 'use Items.UseHeadlight'; |
|
Warning: this symbol is deprecated: use Items.UseHeadlight |
property DefaultViewport: boolean
read FDefaultViewport write SetDefaultViewport default true; |
|
Should we render the 3D world in a default viewport that covers the whole window. This is usually what you want. For more complicated uses, you can turn this off, and use explicit TCastleViewport (connected to this scene manager by TCastleViewport.SceneManager property) for making your world visible. |
property FullSize default true; |
|
property AutoCamera default true; |
|
property AutoNavigation default true; |
|
Generated by PasDoc 0.16.0.