Search
Preparing search index...
The search index is not available
nene-engine.ts
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
PhysicObject
Class PhysicObject
Hierarchy
PhysicObject
PhysicSphere
PhysicPlane
PhysicBox
PhysicObjects
Index
Constructors
constructor
Properties
collide
Call
Back
phy
Body
view
Body
Accessors
angular
Velocity
position
quaternion
velocity
Methods
Look
At
Look
AtBy
Numer
Orient
Orient
And
Rotate
Set
Collide
Callback
Sync
Update
Constructors
constructor
new
Physic
Object
(
name
:
string
, mass
:
number
)
:
PhysicObject
Parameters
name:
string
mass:
number
Returns
PhysicObject
Properties
collide
Call
Back
collide
Call
Back
:
function
Type declaration
(
data
:
CollideData
)
:
void
Parameters
data:
CollideData
Returns
void
phy
Body
phy
Body
:
Cannon.Body
view
Body
view
Body
:
THREE.Object3D
Accessors
angular
Velocity
get
angularVelocity
(
)
:
Cannon.Vec3
Returns
Cannon.Vec3
position
get
position
(
)
:
Cannon.Vec3
Returns
Cannon.Vec3
quaternion
get
quaternion
(
)
:
Cannon.Quaternion
Returns
Cannon.Quaternion
velocity
get
velocity
(
)
:
Cannon.Vec3
Returns
Cannon.Vec3
Methods
Look
At
Look
At
(
eyes
:
THREE.Vector3
, target
:
THREE.Vector3
)
:
void
Parameters
eyes:
THREE.Vector3
target:
THREE.Vector3
Returns
void
Look
AtBy
Numer
Look
AtBy
Numer
(
x
:
number
, y
:
number
, z
:
number
)
:
void
Parameters
x:
number
y:
number
z:
number
Returns
void
Orient
Orient
(
x
:
number
, y
:
number
, z
:
number
)
:
void
Parameters
x:
number
y:
number
z:
number
Returns
void
Orient
And
Rotate
Orient
And
Rotate
(
x
:
number
, y
:
number
, z
:
number
, angle
?:
number
)
:
void
Parameters
x:
number
y:
number
z:
number
Default value
angle:
number
= 0
Returns
void
Set
Collide
Callback
Set
Collide
Callback
(
callback
:
function
)
:
void
Parameters
callback:
function
(
collideData
:
CollideData
)
:
void
Parameters
collideData:
CollideData
Returns
void
Returns
void
Protected
Sync
Sync
(
)
:
void
Returns
void
Abstract
Update
Update
(
)
:
void
Returns
void
Globals
Circle
Collide
Data
Core
Core
Option
Figure
Improved
Noise
Particles
Physic
Box
Physic
Object
constructor
collide
Call
Back
phy
Body
view
Body
angular
Velocity
position
quaternion
velocity
Look
At
Look
AtBy
Numer
Orient
Orient
And
Rotate
Set
Collide
Callback
Sync
Update
Physic
Object
Attribute
Physic
Object
Box
Attribute
Physic
Object
Plane
Attribute
Physic
Object
Sphere
Attribute
Physic
Objects
Physic
Plane
Physic
Sphere
Physic
Unit
Point
Rectangle
Scene
Terrain
Tiled
Textured
Sprite
Unit
All
IsNot
Null
OrUndefined
Associative
Array
ToArray
Base64to
Blob
Boolean
ToString
Clamp
Coalescing
Each
Mesh
Null
Coalescing
Orient
Quaternion
Random
Random
Color
Start
Undef
Coalescing
collide
collide2
collide
Test
Generated using
TypeDoc