Class BillboardComponent
A 2d texture that will be rendered always facing the camera.
Inheritance
System.Object
BillboardComponent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class BillboardComponent : PrimitiveComponent
Properties
| Improve this Doc View SourcebIsScreenSizeScaled
Declaration
public bool bIsScreenSizeScaled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bUseInEditorScaling
Declaration
public bool bUseInEditorScaling { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static BillboardComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
BillboardComponent |
ScreenSize
Screen Size
Declaration
public float ScreenSize { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Sprite
Sprite
Declaration
public Texture2D Sprite { get; set; }
Property Value
Type | Description |
---|---|
Texture2D |
SpriteInfo
Sprite category information regarding the component
Declaration
public SpriteCategoryInfo SpriteInfo { get; set; }
Property Value
Type | Description |
---|---|
SpriteCategoryInfo |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
U
U
Declaration
public float U { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
UL
UL
Declaration
public float UL { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
V
V
Declaration
public float V { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
VL
VL
Declaration
public float VL { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static BillboardComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
BillboardComponent |
SetSprite(Texture2D)
Change the sprite texture used by this component
Declaration
public void SetSprite(Texture2D NewSprite)
Parameters
Type | Name | Description |
---|---|---|
Texture2D | NewSprite |
SetSpriteAndUV(Texture2D, Int32, Int32, Int32, Int32)
Change the sprite texture and the UV's used by this component
Declaration
public void SetSpriteAndUV(Texture2D NewSprite, int NewU, int NewUL, int NewV, int NewVL)
Parameters
Type | Name | Description |
---|---|---|
Texture2D | NewSprite | |
System.Int32 | NewU | |
System.Int32 | NewUL | |
System.Int32 | NewV | |
System.Int32 | NewVL |
SetUV(Int32, Int32, Int32, Int32)
Change the sprite's UVs
Declaration
public void SetUV(int NewU, int NewUL, int NewV, int NewVL)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | NewU | |
System.Int32 | NewUL | |
System.Int32 | NewV | |
System.Int32 | NewVL |
Operators
| Improve this Doc View SourceImplicit(IntPtr to BillboardComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator BillboardComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
BillboardComponent |