Class: TFixedAxisCameraComponent
Defined in: cameras/fixed-axis-camera-controller.ts:12
A component is a data structure that describes a property of an entity.
Extends
Constructors
Constructor
new TFixedAxisCameraComponent(
config?):TFixedAxisCameraComponent
Defined in: cameras/fixed-axis-camera-controller.ts:21
Parameters
config?
axis?
string
bounds?
{ max: vec3; min: vec3; }
bounds.max
vec3
bounds.min
vec3
deadzone?
number
distance?
number
leadFactor?
number
lerpFactor?
number
maxLead?
number
Returns
TFixedAxisCameraComponent
Overrides
Properties
axis
axis:
string='z'
Defined in: cameras/fixed-axis-camera-controller.ts:14
bounds?
optionalbounds?:object
Defined in: cameras/fixed-axis-camera-controller.ts:16
max
max:
vec3
min
min:
vec3
deadzone
deadzone:
number=0
Defined in: cameras/fixed-axis-camera-controller.ts:15
distance
distance:
number=0
Defined in: cameras/fixed-axis-camera-controller.ts:13
leadFactor
leadFactor:
number=0
Defined in: cameras/fixed-axis-camera-controller.ts:17
lerpFactor
lerpFactor:
number=1
Defined in: cameras/fixed-axis-camera-controller.ts:19
maxLead
maxLead:
number=0
Defined in: cameras/fixed-axis-camera-controller.ts:18
requiredComponents?
readonlystaticoptionalrequiredComponents?:TComponentConstructor<TComponent>[]
Defined in: core/component.ts:9
The components that are required by this component. If the entity doesn't have any of the components, they will be created with default values.