跳到主要内容
版本:Next

Class ReadyObjectExtensions

Namespace: OblivionMp.Sdk.Entities.Extensions
Assembly: OblivionMp.Sdk.dll

public static class ReadyObjectExtensions

Inheritance

objectReadyObjectExtensions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Methods

SetLocationRotation<TSelf>(TSelf, Vector3, Vector3)

public static void SetLocationRotation<TSelf>(this TSelf obj, Vector3 location, Vector3 rotation) where TSelf : struct, IReadyEntity<TSelf>, IReadyConvertable<TSelf, ReadyObject>

Parameters

obj TSelf

location Vector3

rotation Vector3

Type Parameters

TSelf

get_Location<TSelf>(TSelf)

public static Vector3 get_Location<TSelf>(TSelf obj) where TSelf : struct, IReadyEntity<TSelf>, IReadyConvertable<TSelf, ReadyObject>

Parameters

obj TSelf

Returns

Vector3

Type Parameters

TSelf

get_Rotation<TSelf>(TSelf)

public static Vector3 get_Rotation<TSelf>(TSelf obj) where TSelf : struct, IReadyEntity<TSelf>, IReadyConvertable<TSelf, ReadyObject>

Parameters

obj TSelf

Returns

Vector3

Type Parameters

TSelf

set_Location<TSelf>(TSelf, Vector3)

public static void set_Location<TSelf>(TSelf obj, Vector3 value) where TSelf : struct, IReadyEntity<TSelf>, IReadyConvertable<TSelf, ReadyObject>

Parameters

obj TSelf

value Vector3

Type Parameters

TSelf

set_Rotation<TSelf>(TSelf, Vector3)

public static void set_Rotation<TSelf>(TSelf obj, Vector3 value) where TSelf : struct, IReadyEntity<TSelf>, IReadyConvertable<TSelf, ReadyObject>

Parameters

obj TSelf

value Vector3

Type Parameters

TSelf

  • Methods
    • SetLocationRotation<TSelf>(TSelf, Vector3, Vector3)
    • get_Location<TSelf>(TSelf)
    • get_Rotation<TSelf>(TSelf)
    • set_Location<TSelf>(TSelf, Vector3)
    • set_Rotation<TSelf>(TSelf, Vector3)