C# Class FC3Editor.Nomad.EditorObjectSelection

Exibir arquivo Open project: Azerothian/fc3editor Class Usage Examples

Public Properties

Property Type Description
Null EditorObject

Public Methods

Method Description
AddObject ( EditorObject obj ) : void
AddSelection ( EditorObjectSelection selection ) : void
Clear ( ) : void
ClearState ( ) : void
Clone ( EditorObjectSelection newSelection, bool cloneObjects ) : void
ComputeCenter ( ) : void
Contains ( EditorObject obj ) : bool
Create ( ) : EditorObjectSelection
Delete ( ) : void
Dispose ( ) : void
DropToGround ( bool physics, bool group ) : void
EditorObjectSelection ( IntPtr ptr ) : System
GetComputeCenter ( ) : Vec3
GetObjects ( ) : IEnumerable
GetPhysEntities ( PhysEntityVector vector ) : void
GetValidObjects ( EditorObjectSelection selection ) : void
IndexOf ( EditorObject obj ) : int
LoadFromXml ( string xml, bool managed ) : bool
LoadState ( ) : void
MoveTo ( Vec3 pos, EditorObjectSelection mode ) : void
RemoveInvalidObjects ( ) : void
RemoveObject ( EditorObject obj ) : void
RemoveSelection ( EditorObjectSelection selection ) : void
Rotate ( Vec3 angles, Vec3 axis, Vec3 pivot, bool affectCenter ) : void
Rotate ( float angle, Vec3 axis, Vec3 pivot, bool affectCenter ) : void
RotateCenter ( float angle, Vec3 axis ) : void
RotateGimbal ( Vec3 angles ) : void
RotateLocal ( Vec3 angles ) : void
SaveState ( ) : void
SaveToXml ( ) : string
SetAngles ( Vec3 angles ) : void
SetPos ( Vec3 pos ) : void
SnapToClosestObjects ( ) : void
SnapToPivot ( EditorObjectPivot source, EditorObjectPivot target, bool preserveOrientation, float snapAngle ) : void
ToggleObject ( EditorObject obj ) : void
ToggleSelection ( EditorObjectSelection selection ) : void
this ( int index ) : EditorObject

Method Details

AddObject() public method

public AddObject ( EditorObject obj ) : void
obj EditorObject
return void

AddSelection() public method

public AddSelection ( EditorObjectSelection selection ) : void
selection EditorObjectSelection
return void

Clear() public method

public Clear ( ) : void
return void

ClearState() public method

public ClearState ( ) : void
return void

Clone() public method

public Clone ( EditorObjectSelection newSelection, bool cloneObjects ) : void
newSelection EditorObjectSelection
cloneObjects bool
return void

ComputeCenter() public method

public ComputeCenter ( ) : void
return void

Contains() public method

public Contains ( EditorObject obj ) : bool
obj EditorObject
return bool

Create() public static method

public static Create ( ) : EditorObjectSelection
return EditorObjectSelection

Delete() public method

public Delete ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DropToGround() public method

public DropToGround ( bool physics, bool group ) : void
physics bool
group bool
return void

EditorObjectSelection() public method

public EditorObjectSelection ( IntPtr ptr ) : System
ptr System.IntPtr
return System

GetComputeCenter() public method

public GetComputeCenter ( ) : Vec3
return Vec3

GetObjects() public method

public GetObjects ( ) : IEnumerable
return IEnumerable

GetPhysEntities() public method

public GetPhysEntities ( PhysEntityVector vector ) : void
vector PhysEntityVector
return void

GetValidObjects() public method

public GetValidObjects ( EditorObjectSelection selection ) : void
selection EditorObjectSelection
return void

IndexOf() public method

public IndexOf ( EditorObject obj ) : int
obj EditorObject
return int

LoadFromXml() public method

public LoadFromXml ( string xml, bool managed ) : bool
xml string
managed bool
return bool

LoadState() public method

public LoadState ( ) : void
return void

MoveTo() public method

public MoveTo ( Vec3 pos, EditorObjectSelection mode ) : void
pos Vec3
mode EditorObjectSelection
return void

RemoveInvalidObjects() public method

public RemoveInvalidObjects ( ) : void
return void

RemoveObject() public method

public RemoveObject ( EditorObject obj ) : void
obj EditorObject
return void

RemoveSelection() public method

public RemoveSelection ( EditorObjectSelection selection ) : void
selection EditorObjectSelection
return void

Rotate() public method

public Rotate ( Vec3 angles, Vec3 axis, Vec3 pivot, bool affectCenter ) : void
angles Vec3
axis Vec3
pivot Vec3
affectCenter bool
return void

Rotate() public method

public Rotate ( float angle, Vec3 axis, Vec3 pivot, bool affectCenter ) : void
angle float
axis Vec3
pivot Vec3
affectCenter bool
return void

RotateCenter() public method

public RotateCenter ( float angle, Vec3 axis ) : void
angle float
axis Vec3
return void

RotateGimbal() public method

public RotateGimbal ( Vec3 angles ) : void
angles Vec3
return void

RotateLocal() public method

public RotateLocal ( Vec3 angles ) : void
angles Vec3
return void

SaveState() public method

public SaveState ( ) : void
return void

SaveToXml() public method

public SaveToXml ( ) : string
return string

SetAngles() public method

public SetAngles ( Vec3 angles ) : void
angles Vec3
return void

SetPos() public method

public SetPos ( Vec3 pos ) : void
pos Vec3
return void

SnapToClosestObjects() public method

public SnapToClosestObjects ( ) : void
return void

SnapToPivot() public method

public SnapToPivot ( EditorObjectPivot source, EditorObjectPivot target, bool preserveOrientation, float snapAngle ) : void
source EditorObjectPivot
target EditorObjectPivot
preserveOrientation bool
snapAngle float
return void

ToggleObject() public method

public ToggleObject ( EditorObject obj ) : void
obj EditorObject
return void

ToggleSelection() public method

public ToggleSelection ( EditorObjectSelection selection ) : void
selection EditorObjectSelection
return void

this() public method

public this ( int index ) : EditorObject
index int
return EditorObject

Property Details

Null public_oe static_oe property

public static EditorObject,FC3Editor.Nomad Null
return EditorObject