Interface ILocalObject
Assembly: AltV.Net.Client.dll
Syntax
public interface ILocalObject : IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Properties
|
Improve this Doc
View Source
Alpha
Declaration
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Collision
Declaration
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Gravity
Declaration
bool Gravity { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDynamic
Declaration
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsStreamedIn
Declaration
bool IsStreamedIn { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWorldObject
true = Created by GTA, false = Created by API
Declaration
bool IsWorldObject { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LocalObjectNativePointer
Declaration
IntPtr LocalObjectNativePointer { get; }
Property Value
|
Improve this Doc
View Source
LodDistance
Declaration
ushort LodDistance { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Model
Declaration
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
StreamingDistance
Declaration
uint StreamingDistance { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
TextureVariation
Declaration
byte TextureVariation { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
UsesStreaming
Declaration
bool UsesStreaming { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Visible
Declaration
bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
ActivatePhysics()
Declaration
|
Improve this Doc
View Source
AttachToEntity(ISharedEntity, Int16, Position, Rotation, Boolean, Boolean, Boolean)
Declaration
void AttachToEntity(ISharedEntity entity, short bone, Position position, Rotation rotation, bool useSoftPinning, bool collision, bool fixedRotation)
Parameters
Type |
Name |
Description |
ISharedEntity |
entity |
|
System.Int16 |
bone |
|
Position |
position |
|
Rotation |
rotation |
|
System.Boolean |
useSoftPinning |
|
System.Boolean |
collision |
|
System.Boolean |
fixedRotation |
|
|
Improve this Doc
View Source
AttachToEntity(UInt32, Int16, Position, Rotation, Boolean, Boolean, Boolean)
Declaration
void AttachToEntity(uint scriptId, short bone, Position position, Rotation rotation, bool useSoftPinning, bool collision, bool fixedRotation)
Parameters
Type |
Name |
Description |
System.UInt32 |
scriptId |
|
System.Int16 |
bone |
|
Position |
position |
|
Rotation |
rotation |
|
System.Boolean |
useSoftPinning |
|
System.Boolean |
collision |
|
System.Boolean |
fixedRotation |
|
|
Improve this Doc
View Source
Detach(Boolean)
Declaration
void Detach(bool dynamic)
Parameters
Type |
Name |
Description |
System.Boolean |
dynamic |
|
|
Improve this Doc
View Source
PlaceOnGroundProperly()
Declaration
void PlaceOnGroundProperly()
|
Improve this Doc
View Source
ResetAlpha()
Declaration
|
Improve this Doc
View Source
SetPositionFrozen(Boolean)
Declaration
void SetPositionFrozen(bool state)
Parameters
Type |
Name |
Description |
System.Boolean |
state |
|
|
Improve this Doc
View Source
ToggleCollision(Boolean, Boolean)
Declaration
void ToggleCollision(bool toggle, bool keepPhysics)
Parameters
Type |
Name |
Description |
System.Boolean |
toggle |
|
System.Boolean |
keepPhysics |
|