|
| float(* | GetInverseMatrix ())[4] |
| |
| CFrame & | operator= (CFrame &other) |
| |
| void | SetPosition (float x, float y, float z) |
| |
| void | SetPosition (float *position) |
| |
| void | SetScale (float x, float y, float z) |
| |
| void | SetScale (float *scale) |
| |
| int | GetFrameNum () |
| |
| void | SetParent (CFrame *parent) |
| |
| void | SetBrother (CFrame *brother) |
| |
| void | SetChild (CFrame *child) |
| |
| void | SetReference (CFrame *reference) |
| |
| void | DeleteReference () |
| |
| void | GetLWMatrix (sceVu0FMATRIX matrix) |
| |
| void | SetTransMatrix (sceVu0FMATRIX matrix) |
| |
| void | SetTransMatrix (float *quaternion) |
| |
| CFrame * | SearchFrame (char *name) |
| |
| void | GetBoundBox (CBoxVu0 *box, int children) |
| |
| void | ScaleBoundBox (float *scale) |
| |
| void | SetAttr (CFrameAttr &attr, int children, int mask) |
| |
| void | GetWorldPosition (float *world_point, float *local_point) |
| |
| void | SetRotation (float x, float y, float z) |
| |
| void | GetRotation (float *rotation) |
| |
| void | SetRotType (int type) |
| |
| void | SetCollision (CCollision *collision) |
| |
| int | PickUpNearPoly (CCPoly *poly, const CBoxVu0 &box) |
| |
| virtual int | DrawVu1 (unsigned int *packet, RenderInfo *info) |
| |
| virtual int | DrawVu1 (sceVif1Packet *packet, RenderInfo *info) |
| |
| virtual void | Initialize () |
| |
Definition at line 58 of file frame.hpp.
◆ CFrame()
◆ GetInverseMatrix()
| float(* CFrame::GetInverseMatrix |
( |
| ) |
)[4] |
◆ operator=()
◆ SetPosition() [1/2]
| void CFrame::SetPosition |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ SetPosition() [2/2]
| void CFrame::SetPosition |
( |
float * |
position | ) |
|
◆ SetScale() [1/2]
| void CFrame::SetScale |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ SetScale() [2/2]
| void CFrame::SetScale |
( |
float * |
scale | ) |
|
◆ GetFrameNum()
| int CFrame::GetFrameNum |
( |
| ) |
|
◆ SetParent()
| void CFrame::SetParent |
( |
CFrame * |
parent | ) |
|
◆ SetBrother()
| void CFrame::SetBrother |
( |
CFrame * |
brother | ) |
|
◆ SetChild()
| void CFrame::SetChild |
( |
CFrame * |
child | ) |
|
◆ SetReference()
| void CFrame::SetReference |
( |
CFrame * |
reference | ) |
|
◆ DeleteReference()
| void CFrame::DeleteReference |
( |
| ) |
|
◆ GetLWMatrix()
| void CFrame::GetLWMatrix |
( |
sceVu0FMATRIX |
matrix | ) |
|
◆ SetTransMatrix() [1/2]
| void CFrame::SetTransMatrix |
( |
sceVu0FMATRIX |
matrix | ) |
|
◆ SetTransMatrix() [2/2]
| void CFrame::SetTransMatrix |
( |
float * |
quaternion | ) |
|
◆ SearchFrame()
| CFrame * CFrame::SearchFrame |
( |
char * |
name | ) |
|
◆ GetBoundBox()
| void CFrame::GetBoundBox |
( |
CBoxVu0 * |
box, |
|
|
int |
children |
|
) |
| |
◆ ScaleBoundBox()
| void CFrame::ScaleBoundBox |
( |
float * |
scale | ) |
|
◆ SetAttr()
| void CFrame::SetAttr |
( |
CFrameAttr & |
attr, |
|
|
int |
children, |
|
|
int |
mask |
|
) |
| |
◆ GetWorldPosition()
| void CFrame::GetWorldPosition |
( |
float * |
world_point, |
|
|
float * |
local_point |
|
) |
| |
◆ SetRotation()
| void CFrame::SetRotation |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ GetRotation()
| void CFrame::GetRotation |
( |
float * |
rotation | ) |
|
◆ SetRotType()
| void CFrame::SetRotType |
( |
int |
type | ) |
|
◆ SetCollision()
| void CFrame::SetCollision |
( |
CCollision * |
collision | ) |
|
◆ PickUpNearPoly()
| int CFrame::PickUpNearPoly |
( |
CCPoly * |
poly, |
|
|
const CBoxVu0 & |
box |
|
) |
| |
◆ DrawVu1() [1/2]
| int CFrame::DrawVu1 |
( |
unsigned int * |
packet, |
|
|
RenderInfo * |
info |
|
) |
| |
|
virtual |
◆ DrawVu1() [2/2]
◆ Initialize()
| void CFrame::Initialize |
( |
| ) |
|
|
virtual |
◆ flags
Collision search bits: 1 searches this frame's collision, 2 skips its children, 4 alone excludes the frame.
Definition at line 60 of file frame.hpp.
◆ collision
Collision polygons attached to the frame, or null.
Definition at line 61 of file frame.hpp.
◆ max
| sceVu0FVECTOR CFrame::max |
Maximum corner of the frame's bound in local space.
Definition at line 62 of file frame.hpp.
◆ min
| sceVu0FVECTOR CFrame::min |
Minimum corner of the frame's bound in local space.
Definition at line 63 of file frame.hpp.
◆ corner
| sceVu0FVECTOR CFrame::corner[8] |
Eight corners of the bound, kept for transforming it.
Definition at line 64 of file frame.hpp.
◆ attr
Drawing attributes of the frame.
Definition at line 65 of file frame.hpp.
◆ parent
Parent frame, or the referenced frame while reference is set.
Definition at line 66 of file frame.hpp.
◆ reference
Whether parent is a followed frame rather than a true parent.
Definition at line 67 of file frame.hpp.
◆ name
Frame name, whose part after "__" carries attribute flags.
Definition at line 68 of file frame.hpp.
◆ child
First child frame, or null.
Definition at line 69 of file frame.hpp.
◆ brother
Next sibling frame, or null.
Definition at line 70 of file frame.hpp.
◆ elder
Previous sibling frame, or null.
Definition at line 71 of file frame.hpp.
◆ world
| sceVu0FMATRIX CFrame::world |
Cached local-to-world matrix.
Definition at line 72 of file frame.hpp.
◆ inverse
| sceVu0FMATRIX CFrame::inverse |
Inverse of the world matrix, as GetInverseMatrix last built it.
Definition at line 73 of file frame.hpp.
◆ local
| sceVu0FMATRIX CFrame::local |
Local transform relative to the parent.
Definition at line 74 of file frame.hpp.
◆ scale
| sceVu0FVECTOR CFrame::scale |
Scale applied when the local matrix is built from its parts.
Definition at line 75 of file frame.hpp.
◆ position
| sceVu0FVECTOR CFrame::position |
Translation applied when the local matrix is built from its parts.
Definition at line 76 of file frame.hpp.
◆ rotation
| sceVu0FVECTOR CFrame::rotation |
Euler rotation in radians applied when rot_type bit 0 is set.
Definition at line 77 of file frame.hpp.
◆ world_valid
Whether the cached world matrix is current.
Definition at line 78 of file frame.hpp.
◆ no_rotation
Whether no rotation has been set, so GetRotation reports zero.
Definition at line 79 of file frame.hpp.
◆ rot_type
Rotation bits: 1 applies rotation, 2 rotates about the frame's own origin.
Definition at line 80 of file frame.hpp.
◆ srt
Whether the local matrix is rebuilt from scale, rotation and position instead of taken as set.
Definition at line 81 of file frame.hpp.